On Saturday 17 September 2005 20:11, C. Beamer wrote: > Hi all, > > 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. On my desktop system, my /var/log/messages starts October 19, 2004 and is only 30MB, and I shut down the machine every night. 'tail /var/log/messages' is still just about instantaneous
> 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? check in /etc/logrotate.conf. I believe the default is weekly. Also, if your system is not run continuously, you may want to look into anacron, as logrotate is run as a daily cron job For future reference, it is generally best to send separate messages to the list for separate topics. i.e. one message for logrotate, and one message for the service viewer. Makes it easier for potential responders to find interesting questions, and for people searching for answers to find them. > Also, does Gentoo have an equivalent to ntsysv where you can set > services to stop and start? I assume that when you issue the command > rc-update add <program name> default that this essentially is telling > some service to start at boot time. Correct. > However, if there is something like > ntsysv available where you can see the services that are running, I > would appreciate being told what it is. as "Daevid Vincent" <[EMAIL PROTECTED]> said: rc-update show also rc-status
pgpSqcjyryySD.pgp
Description: PGP signature