On Wednesday 01 September 2004 00:28, Bob S. wrote:
I got a fortune of wtmp.gz files that go way back to Jan 2004.
OK, jumping in on this thread, I also have a gazillion files in /var/log/ such as localmessage, mail, messages , and various XF86 files, some going back to early 2003. Now, none of these are listed in the /etc/logrotate.d/ directory. Can I just add these categories to that directory by making new files?
Sure. That's what I do on my mailserver. With all the domains we host, qmail, qmail-scanner and clamav tend to be generous with the logs after getting hammered with spam and viruses. I have to rotate those, as well as the firewall logs, hourly. The files in /etc/logrotate.d/ are good working examples, and don't forget that "man logrotate" is your friend. -- Homepage http://scott.exti.net XFce desktop environment http://www.xfce.org Goodies for the XFce desktop http://xfce-goodies.berlios.de GPG public key ID: 811B00AB