From owner-freebsd-stable@FreeBSD.ORG Sat Dec 6 21:11:27 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2058B16A4CE for ; Sat, 6 Dec 2003 21:11:27 -0800 (PST) Received: from mail.praemunio.com (mail.praemunio.com [66.179.47.216]) by mx1.FreeBSD.org (Postfix) with SMTP id B1F3243F85 for ; Sat, 6 Dec 2003 21:11:25 -0800 (PST) (envelope-from frank@knobbe.us) Received: from localhost (HELO mail.knobbe.us) by localhost with SMTP; 6 Dec 2003 23:11:24 -0600 Received: from server1.home.knobbe.us by firewall1.home.knobbe.us with SMTP; 6 Dec 2003 23:11:23 -0600 Received: from localhost (HELO frankslaptop.knobbe.us) by localhost with SMTP; 6 Dec 2003 23:11:22 -0600 Received: from localhost (HELO ??) by localhost with SMTP; 6 Dec 2003 23:11:21 -0600 From: Frank Knobbe To: michael In-Reply-To: <20031206101611.GA21554@brenner.msresearch.org> References: <20031206101611.GA21554@brenner.msresearch.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-RPnaYTr6bGX2mRj4jcxk" Message-Id: <1070773880.513.156.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 06 Dec 2003 23:11:21 -0600 cc: freebsd-stable@freebsd.org Subject: Re: newsyslogwithdate-extension-logfiles X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 05:11:27 -0000 --=-RPnaYTr6bGX2mRj4jcxk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2003-12-06 at 04:16, michael wrote: > Now i have the wish that the 'newsyslog' uses date-extensions > in the 'rotated' logfiles. > eg: >=20 > messages.0.gz should be messages.20031206.gz and so on... Take a look at syslog-ng. I'm very happy with it. I configured mine to log to /var/log/$hostname/$date-messages, and it dumps one file per log (i.e. messages, auth) prefixed with the date into the directory (one directory per host). That's easily configured in syslog-ng.conf. For example: destination messages { file("/var/log/$HOST/$YEAR-$MONTH-$DAY-messages"); }= ; I highly recommend it over the plain old syslog. Regards, Frank --=-RPnaYTr6bGX2mRj4jcxk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/0rZ4po+MRgtrF98RAvRvAJ93JNkHMWX9J703OzkcQbwS8zvYbgCfcTkf vhn9PHkAnaVunmkBVXq7sgw= =S2c+ -----END PGP SIGNATURE----- --=-RPnaYTr6bGX2mRj4jcxk--