Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2003 09:52:49 +0530
From:      "Sunil Sunder Raj" <unixtools@hotmail.com>
To:        chael@southgate.ph.inter.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: logfile rotate
Message-ID:  <BAY8-F111a8JtHSbigO0000c2f6@hotmail.com>

next in thread | raw e-mail | index | archive | help
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@southgate.ph.inter.net>
>To: <freebsd-questions@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F111a8JtHSbigO0000c2f6>