Date: Sat, 15 Feb 2003 12:55:59 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: Wes Peters <wes@softweyr.com> Cc: Garance A Drosihn <drosih@rpi.edu>, Thomas Quinot <thomas@FreeBSD.ORG>, Gordon Tetlow <gordont@gnf.org>, arch@FreeBSD.ORG Subject: Re: syslog.conf syntax change (multiple program/host specifications) Message-ID: <xzp3cmprc4w.fsf@flood.ping.uio.no> In-Reply-To: <xzp65rlrc8k.fsf@flood.ping.uio.no> (Dag-Erling Smorgrav's message of "Sat, 15 Feb 2003 12:53:47 %2B0100") References: <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302141100.23529.wes@softweyr.com> <p05200f15ba72fb31e177@[128.113.24.47]> <200302141733.29304.wes@softweyr.com> <xzp65rlrc8k.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> writes: > Wes Peters <wes@softweyr.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp3cmprc4w.fsf>