On Sat, 17 Sep 2005 23:11:02 -0400, C. Beamer wrote:

> When I installed Gentoo, I chose syslog-ng as my system logger.  It was
> suggested that I install logrotate to prevent my logfiles from becoming
> unmanagageably large.  I did this.  However, my /var/log/messages file
> includes logging from the first day that Gentoo was running on my system
> and that's now about 2 weeks.
> 
> Is there a default length of time before logrotate will rotate the log
> files?

Do you have a config file for syslog-ng in /etc/logrotate.d? This should
have been installed when you merged syslog-ng. If not, you'll find the
file at /usr/portage/app-admin/syslog-ng/files/syslog-ng.logrotate, copy
it to /etc/logrotate.d/syslog-ng.


-- 
Neil Bothwick

"Fascinating," said Spock, watching Kirk's lousy acting.

Attachment: pgptOg4f0cwJM.pgp
Description: PGP signature

Reply via email to