logrotate question
From: Bob Alexander (bob_at_ngi.it)
Date: 02/06/05
- Previous message: Mason Loring Bliss: "Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 06 Feb 2005 19:25:25 +0100 To: Debian Linux Distro Users Discussion <debian-user@lists.debian.org>
In my Debian sid /var/log directory there are 3 main files that are
never rotated:
syslog
messages
kern.log
Is this my fault, am I missing something ?
I would like all of them having only the current day payload and then
zipping older sets for a week and then delete forever.
Here follows my /etc/logrotate.conf (which does not handle any of the
above three) and the /etc/logrotate.d does not have any entries for the
above files.
Should I file a bug ?
TIA,
Bob
# see "man logrotate" for details
daily
rotate 7
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be configured here
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Mason Loring Bliss: "Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|