From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 06:16:29 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4BB716A4CE for ; Mon, 1 Mar 2004 06:16:29 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC31843D1D for ; Mon, 1 Mar 2004 06:16:28 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i21EGLZB021435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Mar 2004 14:16:21 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i21EGLtP021434; Mon, 1 Mar 2004 14:16:21 GMT (envelope-from matthew) Date: Mon, 1 Mar 2004 14:16:21 +0000 From: Matthew Seaman To: "Pelle Andersson (SPD Systems AB)" Message-ID: <20040301141621.GA21326@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Pelle Andersson (SPD Systems AB)" , freebsd-questions@freebsd.org References: <20040301133527.BDCD843D31@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20040301133527.BDCD843D31@mx1.FreeBSD.org> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: NewSysLog & FBSD 4.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 14:16:29 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 01, 2004 at 02:35:20PM +0100, Pelle Andersson (SPD Systems AB) = wrote: > Hi! >=20 > ::NEWSYSLOG:: > ------------- > I want to rotate and pack my logs for Qpopper and ProFTPD > This is my lines in '/etc/newsyslog.conf': >=20 > #--------------------------------------------------------------- > /var/log/qpopper.log root:root 640 7 * @T00 Z > /var/log/proftp.log root:root 640 7 * @T00 Z=20 > #--------------------------------------------------------------- >=20 > It does not work =3D( 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 --=20 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 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAQ0W1dtESqEQa7a0RAl3SAJ9PytasTaEh8B0uu8OyPuPGX74vvgCdG75X XXFjfaG3YgNMcTx9AbhT/tY= =bV8E -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--