logs(off topic?)
Lee Evans
lee@vital.co.uk
Thu, 6 Dec 2001 08:05:05 -0000
netfilter@lists.samba.org
Use the logrotate program to cycle your logs - it's probably installed
already if you're using a fairly modern distro. As netfilter logs to
kernel.*, you would want to look at the /var/log/messages section most
likely (unless you told kernel.* to log somewhere else in syslog.conf).
run "man logrotate" for a full description, eg:
/var/log/messages {
rotate n [keeps n logs in the cycle]
weekly/daily/monthly [period for rotation]
}
there are a lot of other options available such as zipping of old log
files, archiving to a seperate directory etc.
Regards
Lee
--
Lee Evans
Vital Online Ltd
-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org]On Behalf Of Jesse.linux
Sent: 06 December 2001 05:19
To: netfilter@lists.samba.org
Subject: logs(off topic?)
greetings to u all....
how can i make my logs to be in a daily basis...not in just one big
file?...
thanks....