Bug#777041: xbmc: unable to disable extensive debug logging
Bálint Réczey
balint at balintreczey.hu
Mon Mar 2 18:27:21 UTC 2015
Hi Jonathan,
Control: severity -1 wishlist
Control: tags -1 confirmed wontfix
2015-02-04 11:00 GMT+01:00 Jonathan McDowell <noodles at earth.li>:
> Package: xbmc
> Version: 2:13.2+dfsg1-3~bpo70+1
> Severity: normal
>
> I'm hoping I'm just missing something here, but the Debian XBMC packages
> do extensive debug logging out of the box, including logging every
> directory scanned for updates, even when there is no change, and logging
> several lines each time a key is pressed on the remote e.g:
>
> 09:52:25 T:140192028579744 DEBUG: Keyboard: scancode: 0x71, sym: 0x0114, unicode: 0x0000, modifier: 0x0
> 09:52:25 T:140192028579744 DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
> 09:52:25 T:140192028579744 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
> 09:52:25 T:140192028579744 DEBUG: OnKey: left (0xf082) pressed, screen saver/dpms woken up
> 09:52:26 T:140192028579744 DEBUG: ------ Window Deinit () ------
>
> I have set:
>
> <debug>
> <screenshotpath default="true"></screenshotpath>
> <showloginfo default="true">false</showloginfo>
> </debug>
>
> in ~xbmc/.xbmc/userdata/guisettings.xml and tried:
>
> <loglevel hide="false">-1</loglevel>
>
> in ~xbmc/.xbmc/userdata/advancedsettings.xml as well, but I still see
> this debug output. Given that my XBMC box is on all the time and this
> logging serves little purpose I'd like to be able to tone it down to
> avoid the debug output (and I don't expect it to do this out of the bug
> even when the GUI is saying there's no debug enabled).
The extensive logging is enabled during the build intentionally to
help users in debugging issues without recompiling the package.
IMO there is little harm done since if you don't have problems you
don't have to look at the logs.
If you are really worried about the logs accumulating you can even set
up a cron job to remove it periodically.
Please check's Kodi's wiki for hints on changing logging, but if you
can't find a better solution there I probably can't help either:
http://kodi.wiki/view/Log_file/Advanced
Cheers,
Balint
More information about the pkg-multimedia-maintainers
mailing list