On Mon, Mar 01, 2004 at 02:35:20PM +0100, Pelle Andersson (SPD Systems AB) wrote: > Hi! > > ::NEWSYSLOG:: > ------------- > I want to rotate and pack my logs for Qpopper and ProFTPD > This is my lines in '/etc/newsyslog.conf': > > #--------------------------------------------------------------- > /var/log/qpopper.log root:root 640 7 * @T00 Z > /var/log/proftp.log root:root 640 7 * @T00 Z > #--------------------------------------------------------------- > > It does not work =( No error messages or anything. > What do I need to do? > Any suggestions?
Hmmm... that looks fine to me. What happens if you run: # newsyslog -v I assume that newsyslog is actually running every hour -- that's the default from the system crontab: % grep newsyslog /etc/crontab 0 * * * * root newsyslog and that the other system logs are all being cycled as intended. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK
pgp00000.pgp
Description: PGP signature