timlau / yumex-dnf-old

Next Generation of Yum Extender using DNF as backend
GNU General Public License v2.0
61 stars 17 forks source link

[rfe] reduce default logging. Is default loglevel set to debug? #52

Closed genodeftest closed 9 years ago

genodeftest commented 9 years ago

In default loglevel in a fedora 22 or 23 installation, yumex-dnf does quite a lot logging. Most of that is not needed imho and just clutters the log file. This is so much logging that I got a message from systemd-journald: systemd-journal[559]: Suppressed 7158 messages from /user.slice/user-1000.slice for downloading just one single file.

This logging includes:

There is a few of those entries in syslog:

dk.yumex.StatusIcon[1703]: TransactionEvent : start-build
dk.yumex.StatusIcon[1703]: Data :
dk.yumex.StatusIcon[1703]: null

from src/yumex/dnf_backend.py#L218 with different TransactionEvents such as:

To me this looks like the default log level is set to DEBUG, which seems weird. Can you please lower the default loglevel? Or is this a communication issue between yumex-dnf and journald?

genodeftest commented 9 years ago

There is another entry I see thousands of times in syslog: org.baseurl.DnfSystem[854]: DBG: <dnf.yum.history.YumHistoryTransaction object at 0xSOMETHING timestamp

timlau commented 9 years ago

Look like I have some leftover print statement in the backend daemons