NewSysLog & FBSD 4.9
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Mar 1 06:16:29 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040301/a9fa028d/attachment.bin
More information about the freebsd-questions
mailing list