diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-05 08:17:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-05 08:17:53 +0000 |
commit | 74294c061a5ecfa0986ac7684de197987d435bea (patch) | |
tree | d8a849084197503a7d9dd52eb3be2d7c670f2f20 /main/sysklogd/syslog.conf | |
parent | 11760a8485da27422f78ee8212d5413ec93ff0f3 (diff) | |
download | aports-74294c061a5ecfa0986ac7684de197987d435bea.tar.bz2 aports-74294c061a5ecfa0986ac7684de197987d435bea.tar.xz |
main/sysklogd: use cron to rotate logs rather than logrotate
The cronscript parses the syslog.conf and dynamically rotates all
configured log files, while logrotate is a static list.
This way we avoid needing to update the logrotate script each time
you change syslog.conf
Diffstat (limited to 'main/sysklogd/syslog.conf')
-rw-r--r-- | main/sysklogd/syslog.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/sysklogd/syslog.conf b/main/sysklogd/syslog.conf index 855ee6e3e8..aead955ccf 100644 --- a/main/sysklogd/syslog.conf +++ b/main/sysklogd/syslog.conf @@ -18,9 +18,9 @@ user.* -/var/log/user.log # Logging for the mail system. Split it up so that # it is easy to write scripts to parse these files. # -mail.info -/var/log/mail.info -mail.warning -/var/log/mail.warn -mail.err /var/log/mail.err +#mail.info -/var/log/mail.info +#mail.warning -/var/log/mail.warn +#mail.err /var/log/mail.err # Some `catch-all' logfiles. # |