From owner-freebsd-arch Sat Feb 15 3:56: 6 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0647A37B401; Sat, 15 Feb 2003 03:56:05 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45C0143FAF; Sat, 15 Feb 2003 03:56:02 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id BB058536E; Sat, 15 Feb 2003 12:56:00 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Wes Peters Cc: Garance A Drosihn , Thomas Quinot , Gordon Tetlow , arch@FreeBSD.ORG Subject: Re: syslog.conf syntax change (multiple program/host specifications) From: Dag-Erling Smorgrav Date: Sat, 15 Feb 2003 12:55:59 +0100 In-Reply-To: (Dag-Erling Smorgrav's message of "Sat, 15 Feb 2003 12:53:47 +0100") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302141100.23529.wes@softweyr.com> <200302141733.29304.wes@softweyr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > Wes Peters writes: > > newsyslog doesn't really seen to have this feature; -F just truncates > > the file. I'll look into a proper "force" flag for newsyslog. > No, it rotates the file. In case there's any doubt about this: root@des ~# tail /var/log/debug.log Feb 15 12:14:37 des su: in pam_set_item(): entering: PAM_AUTHTOK_PROMPT Feb 15 12:14:37 des su: in pam_set_item(): returning PAM_SUCCESS Feb 15 12:14:37 des su: in pam_set_item(): entering: PAM_OLDAUTHTOK_PROMPT Feb 15 12:14:37 des su: in pam_set_item(): returning PAM_SUCCESS Feb 15 12:14:37 des su: in pam_end(): returning PAM_SUCCESS Feb 15 12:23:01 des cvsupd[4949]: +3 root@dsa.thinksec.com [SNAP_16_1f/17.0] Feb 15 12:24:38 des cvsupd[4949]: =3 [2879Kin+257Kout] src-all/cvs Feb 15 12:24:38 des cvsupd[4949]: =3 [3306Kin+6Kout] ports-all/cvs Feb 15 12:24:38 des cvsupd[4949]: =3 [236Kin+14Kout] doc-all/cvs Feb 15 12:24:38 des cvsupd[4949]: -3 [6421Kin+276Kout] Finished successfully root@des ~# newsyslog -F /var/log/debug.log root@des ~# tail /var/log/debug.log Feb 15 12:54:35 des newsyslog[5029]: logfile turned over Feb 15 12:54:35 des syslogd: restart root@des ~# zcat /var/log/debug.log.0.gz | tail Feb 15 12:14:37 des su: in pam_set_item(): returning PAM_SUCCESS Feb 15 12:14:37 des su: in pam_set_item(): entering: PAM_OLDAUTHTOK_PROMPT Feb 15 12:14:37 des su: in pam_set_item(): returning PAM_SUCCESS Feb 15 12:14:37 des su: in pam_end(): returning PAM_SUCCESS Feb 15 12:23:01 des cvsupd[4949]: +3 root@dsa.thinksec.com [SNAP_16_1f/17.0] Feb 15 12:24:38 des cvsupd[4949]: =3 [2879Kin+257Kout] src-all/cvs Feb 15 12:24:38 des cvsupd[4949]: =3 [3306Kin+6Kout] ports-all/cvs Feb 15 12:24:38 des cvsupd[4949]: =3 [236Kin+14Kout] doc-all/cvs Feb 15 12:24:38 des cvsupd[4949]: -3 [6421Kin+276Kout] Finished successfully Feb 15 12:54:35 des newsyslog[5029]: logfile turned over DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message