Description of problem: Logwatch doesn't display dnf-rpm logs. They are ignored according to bad date processing for old yum files. Version-Release number of selected component (if applicable): logwatch-7.5.3-1.fc32.noarch How reproducible: always after an update Steps to Reproduce: 1. run only if your system has been updated 2. logwatch --service dnf-rpm --range yesterday --detail high 3. use --range today if your system has been updated only today Actual results: no results Expected results: should list all updates installed Additional info: This change should fix this: --- /usr/share/logwatch/default.conf/logfiles/dnf-rpm.conf~ 2020-02-25 10:41:40.000000000 +0100 +++ /usr/share/logwatch/default.conf/logfiles/dnf-rpm.conf 2020-11-19 09:41:47.544323877 +0100 @@ -4,6 +4,6 @@ Archive = dnf.rpm.log-* # Keep only the lines in the proper date range... -*ApplyStdDate = "%b %d %H:%M:%S" +*ApplyStdDate = "%FT%H:%M:%S%z" # vi: shiftwidth=3 tabstop=3 et
Thanks, your updated match is correct, although looking into it I found that they also have broken the logfile format, due to them doing their own log rotation. Worse still it affects all versions of Fedora, so I'll get a quick patch out while working with upstream for a longer term fix, as we need to be backward compatible.
FEDORA-2020-ebb1a815b7 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ebb1a815b7
FEDORA-2020-ebb1a815b7 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ebb1a815b7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ebb1a815b7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-ebb1a815b7 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.