Unable to turn off debug logging from advancedsettings.xml
#1
Now that I've got XBMC (dharma RC1) working the way I want, I've tried turning off debug logging by following the wiki pages and using advancedsettings.xml, but it doesn't seem to be working and still displays all debug messages regardless. My advancedsettings.xml file lives in /Users/snowdrift/Library/Application Support/XBMC/userdata and contains the following:

Code:
<advancedsettings>
    [color=red]<loglevel hide="false">0</loglevel>[/color]
    <songinfoduration>10</songinfoduration>
    <videolibrary>
        <hideallitems>true</hideallitems>
        <cleanonupdate>true</cleanonupdate>
    </videolibrary>
    <musiclibrary>
        <hideallitems>true</hideallitems>
    </musiclibrary>
</advancedsettings>

which all looks like it should work, but it doesn't. However, if I go into Settings -> Debugging and switch the debug option on (its actually off to begin with for some reason) then off again, I get the following in the log and then debugging is actually off this time. But that doesn't persist after a restart of XBMC.

Code:
21:00:42 T:2688431360 M:3218907136  NOTICE: Enabled debug logging due to GUI setting. Level 2.
21:00:43 T:2688431360 M:3218968576   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
21:00:43 T:2688431360 M:3218968576   DEBUG: OnKey: 61453 pressed, action is Select
21:00:43 T:2688431360 M:3218968576  NOTICE: Disabled debug logging due to GUI setting. Level 0.

Can anyone help. Why isn't this working for me?
Reply
#2
You can only increase the default loglevel from advancedsettings.xml, not decrease it.
I'm not sure why is behavior was chosen though.
Reply
#3
bobo1on1 Wrote:You can only increase the default loglevel from advancedsettings.xml, not decrease it.
I'm not sure why is behavior was chosen though.

Hmmm...OK. I guess the loglevel wiki entry seems a bit misleading then. Is there any other way to suppress debug logging from XBMC startup?
Reply
#4
Only by changing the sourcecode.
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to turn off debug logging from advancedsettings.xml0