Cron jobs log to /var/log/cron.log once again (#620)
- Now that logrotate is a cron job that runs every minute, it was polluting syslog - Also shrink max size of less-important logs to 50MB and rotate them daily by default
This commit is contained in:
parent
ef980151ae
commit
714e45f0bb
@ -31,8 +31,8 @@
|
||||
/var/log/messages
|
||||
{
|
||||
rotate 4
|
||||
weekly
|
||||
maxsize 100M
|
||||
daily
|
||||
maxsize 50M
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
|
@ -3,9 +3,9 @@
|
||||
#
|
||||
auth,authpriv.* /var/log/auth.log
|
||||
*.*;auth,authpriv.none -/var/log/syslog
|
||||
# Do not redirect cron, daemon, kernel or lpr logs to
|
||||
cron.* /var/log/cron.log
|
||||
# Do not redirect daemon, kernel or lpr logs to
|
||||
# their own files. Let them log to /var/log/syslog
|
||||
#cron.* /var/log/cron.log
|
||||
#daemon.* -/var/log/daemon.log
|
||||
#kern.* -/var/log/kern.log
|
||||
#kern.* -/var/persist/log/kern.log
|
||||
|
Reference in New Issue
Block a user