Bug 1357897

Summary: cron.daily entry does verbose logging
Product: [Fedora] Fedora Reporter: Dominique Brazziel <sixerjman>
Component: logrotateAssignee: Kamil Dudka <kdudka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: jkaluza, kdudka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 14:40:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dominique Brazziel 2016-07-19 14:08:20 UTC
Description of problem:
After upgrading from Release 23 to 24, the logrotate daily cron job does verbose logging by default.  This results in many syslog messages that convey little information.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
The fix is to remove the '-l syslog' option:

diff -u logrotate~ logrotate
--- logrotate~	2016-02-16 04:12:07.000000000 -0500
+++ logrotate	2016-07-19 08:23:01.003331245 -0400
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status -l syslog /etc/logrotate.conf
+/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf
 EXITVALUE=$?
 if [ $EXITVALUE != 0 ]; then
     /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"

Comment 1 Kamil Dudka 2016-07-19 14:40:56 UTC
This is basically a duplicate of bug #1304828.  I agree this is annoying and will revert the change as you suggest.

*** This bug has been marked as a duplicate of bug 1304828 ***