Package: rsyslog Version: 4.6.4-2 Severity: wishlist Tags: patch Hi,
It would be nice if /var/log/cron.log would log everything more significant than cronjob start/stop times. It's annoying to have to go into /var/log/syslog to find problems with cron. Attached is a patch that works with the 'cron' package. I can't say what gets logged if other crons are installed. (And sadly, with the default cron package the log message that seems to be preventing my cronjobs from running is at the info priority but I'm filing a bug and perhaps this will change.) Thanks. -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages rsyslog depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages rsyslog recommends: ii logrotate 3.7.8-6 Log rotation utility Versions of packages rsyslog suggests: ii rsyslog-doc 4.6.4-2 documentation for rsyslog pn rsyslog-gnutls <none> (no description available) pn rsyslog-gssapi <none> (no description available) pn rsyslog-mysql | rsyslog-pgsql <none> (no description available) pn rsyslog-relp <none> (no description available) -- Configuration Files: /etc/rsyslog.conf changed [not included] -- no debconf information
--- /etc/rsyslog.conf.orig 2010-11-30 07:50:44.000000000 -0600 +++ /etc/rsyslog.conf 2011-05-03 13:31:47.000000000 -0500 @@ -55,7 +55,7 @@ # auth,authpriv.* /var/log/auth.log *.*;auth,authpriv.none -/var/log/syslog -#cron.* /var/log/cron.log +cron.notice /var/log/cron.log daemon.* -/var/log/daemon.log kern.* -/var/log/kern.log lpr.* -/var/log/lpr.log