Date: Mon, 1 Mar 2004 14:16:21 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "Pelle Andersson (SPD Systems AB)" <pelle@spd.nu> Cc: freebsd-questions@freebsd.org Subject: Re: NewSysLog & FBSD 4.9 Message-ID: <20040301141621.GA21326@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040301133527.BDCD843D31@mx1.FreeBSD.org> References: <20040301133527.BDCD843D31@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAQ0W1dtESqEQa7a0RAl3SAJ9PytasTaEh8B0uu8OyPuPGX74vvgCdG75X
XXFjfaG3YgNMcTx9AbhT/tY=
=bV8E
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301141621.GA21326>
