Fedora 42 with dnf5 version: dnf5 version 5.2.13.1 dnf5 plugin API version 2.0 libdnf5 version 5.2.13.1 libdnf5 plugin API version 2.2 shows excessively high verbosity by default. This should be reduced or at least a control option added to reduce the verbosity to exclude "DEBUG" lines. In the current files on my system I've increased the default dnf5 log file from 1MB to 10MB with the "log_size" user option to get more history. So with a full 10MB file I have his mixture of DEBUG vs non-DEBUG lines in a file: # grep DEBUG dnf5.log.4 | wc -l 70304 # grep -v DEBUG dnf5.log.4 | wc -l 2269 68000 some lines of DEBUG is a waste of space in the file when a bug is not being researched to justify that logging Reproducible: Always Steps to Reproduce: 1. Look in /var/log/dnf5*log files 2. The files are far too filled up with non-useful DEBUG output 3. Actual Results: Use dnf5 as normal, find the log files only retain a week or two of logging due to overly high verbosity level (DEBUG is enabled by default) making rotation result in too short logging date range Expected Results: dnf5 log files should contain information usually useful for system maintenance and not low level details about dnf5 Additional Information: Default to maybe INFO level instead of DEBUG. dnf5 should have a debuglevel option setting like dnf4 used to.
# grep 'DEBUG \[librepo\]' dnf5.log.4 |wc -l 59827 # grep DEBUG dnf5.log.4 | wc -l 70304 Most of the lines seem to be related to librepo DEBUG logging
This is valid. Corresponding upstream issue: https://github.com/rpm-software-management/dnf5/issues/1819