logfile rotate
Sunil Sunder Raj
unixtools at hotmail.com
Thu Oct 16 21:22:50 PDT 2003
Hi,
/etc/newsyslog.conf is the file you need.
For eg.
If you need a file rotated monthly on the first day of the month.
/var/log/MYLOGFILE 600 12 * $M1D0 Z
Regards
SSR
>From: <chael at southgate.ph.inter.net>
>To: <freebsd-questions at freebsd.org>
>Subject: logfile rotate
>Date: Fri, 17 Oct 2003 11:04:10 +0800
>
>Hello,
>
>What config file is responsible for the rotation of logs? I have a logfile
>I need to rotate every 24 hours (it's not squid's). Thanks in advance.
>
>chael
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
_________________________________________________________________
Three simple steps. They guarantee your safety.
http://server1.msn.co.in/features/general/SMBvirus/index.asp Protect
yourself against the SMB.EXE virus.
More information about the freebsd-questions
mailing list