Bug 2363899
| Summary: | dnf5 logging is far too verbose due to DEBUG lines | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | M. Schlegel <moschlegbz> |
| Component: | dnf5 | Assignee: | rpm-software-management |
| Status: | NEW --- | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | amatej, jonathan, kalaklanar, nsella, pkratoch, ppisar, redhat-bugzilla, redhat, rpm-software-management |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | Flags: | fedora-admin-xmlrpc:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
M. Schlegel
2025-05-03 18:22:06 UTC
# 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 This message is a reminder that Fedora Linux 42 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '42'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 42 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. This is still happening on fedora 43: grep DEBUG dnf5.log|wc -l 41018 The upstream bug has no progress so far. To see what keys there actually are in one of my files (Fully updated Fedora 44 with dnf5 version 5.4.2.1) and how many each has in a typical file on my system I did:
sort -k 3 /var/log/dnf5.log.4 | awk '{print $3}' | uniq
DEBUG
ERROR
INFO
TRACE
So there were 4 different level keys even down to TRACE in my dnf5.logs
Then I counted each:
for k in TRACE DEBUG INFO ERROR; do echo -n "Key: $k -- lines: ";grep $k /var/log/dnf5.log.4 | wc -l ; done
Key: TRACE -- lines: 59
Key: DEBUG -- lines: 70467
Key: INFO -- lines: 2526
Key: ERROR -- lines: 1
So "TRACE" is not really a problem line wise but there's far too many DEBUGs
|