[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Controlling Syslog Rollovers



On Tue, 14 Aug 2007 21:15:04 -0500
Martin McCormick <martin@dc.cis.okstate.edu> wrote:

> 	Is it possible to tell syslogd under what conditions to
> roll over each syslog file? Under FreeBSD, for example, there is
> a file called newsyslog.conf which lets one tellsyslogd to start
> a new syslog file at Midnight or some other designated hour
> instead of just waiting until the log file has X bytes in it and
> then rolling it over.
> 
> 	I would like to do that same thing on all the Debian
> systems I run. Am I just missing the right documentation or is
> there no way to do that through the stock syslogd?

See the files in the /etc/logrotate.d directory, and the logrotate man
page, for details of how to adjust the rotation policy.

-- 

Liam



Reply to: