Solved Lower the logging level of Python script initialization message
#1
Can the logging level of Python initialization messages be reduced? With Python scripts being more deeply integrated into skins and the system, the messages aren't quite NOTICE worthy, logging always unless logging is completely disabled. They may still be useful as debug messages, at DEBUG or INFO level. Certain usages of Python can profusely junk up logs, such as my multi fanart idea, with a multiimage control powered by a plugin path that can change often. Log junk benefits nobody. Smile

The messages in question are below, and log every time a Python script is executed, as long as any logging is enabled.

Code:
14:53:01 T:9572  NOTICE: Thread LanguageInvoker start, auto delete: false
14:53:01 T:9572  NOTICE: -->Python Interpreter Initialized<--

Thanks!
Reply
#2
https://github.com/xbmc/xbmc/pull/8316
Reply
#3
Hey, that is quite handy, thanks! That covers the second message, and surely a whole bunch of other mildly annoying messages.

And I found the first message. C++ isn't really my bag, but I'm pretty sure I managed to lower the level in pull request #8319 without breaking something.
Reply
#4
right, I forgot about that one Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Lower the logging level of Python script initialization message0