However after setting KWin Scripting log level to Full Debug and removing *.debug=false rule from Custom Rules in KDebugSettings I don’t see this message (and other log messages from this script) in KSystemLog.
print(QVariant...): prints the provided arguments to stdout. Takes an arbitrary number of arguments. Comparable to console.log()which should be preferred in QML scripts.
I take it to mean that in QML script (and this is what we have here as the console.log() is used in the main.qml file) it’s console.log() which should be used, not print().
However after setting KWin Scripting log level to Full Debug and removing *.debug=false rule from Custom Rules in KDebugSettings I don’t see this message (and other log messages from this script) in KSystemLog.
KWin Scripting is for internal logging, that is from KWin scripting Api C++ implementation.
you have to see qml: KROHNKITE: starting the script
Is the qml prefix the name of logging category and does it mean that the default logging category in qml scripts is qml?
The question remains; why don’t I see this log entry and others do?
Hi - maybe a silly question on my part (I’m no expert!), but have you checked out the KDE Community Wiki page about KWin debugging? KWin/Debugging - KDE Community Wiki
The reason I ask is that it sounded like you were looking for KWin debug messages in the system journal, but if I understand correctly, I believe those messages would actually be output to a separate file - might be worth double-checking?