desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #73639
[Bug 1376357] Re: lightdm writing the same DEBUG message to /var/log/lightdm/lightdm.log
I think this might be the XHasMessages property that is being set, since
the patch for that doesn't stop Changed from being emitted if the value
has not changed. The other properties seem to correctly check if they
are changed.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1376357
Title:
lightdm writing the same DEBUG message to /var/log/lightdm/lightdm.log
Status in “lightdm” package in Ubuntu:
Incomplete
Bug description:
I was trying to figure out where excessive file system writes were
coming from on the ubuntu phone (to try to reduce flash writes and hence reduce power
consumption) and I spotted that /var/log/lightdm/lightdm.log is getting the same debug message written to every every 300 seconds:
tail -f /var/log/lightdm/lightdm.log
[+5109.66s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+5409.67s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+5709.66s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+6009.66s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+6309.64s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+6609.65s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+6909.67s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+7209.66s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+7509.66s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+7809.57s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
[+8109.65s] DEBUG: User /org/freedesktop/Accounts/User32011 changed
while this isn't much of a message, it still is causing file system
writes every 5 minutes for the same debug message. Is this necessary?
The fact that it is the same message about the same account and that
it occurs every 300 seconds make me wonder if we can cull this
particular piece of repeated logging.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1376357/+subscriptions
References