Date: Mon, 19 Jan 2004 13:29:32 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Didier WIROTH <didier.wiroth@mcesr.etat.lu> Cc: freebsd-questions@freebsd.org Subject: Re: syslog question Message-ID: <20040119132932.GB9851@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <0HRQ008TLKF6LF@mail.etat.lu> References: <0HRQ008TLKF6LF@mail.etat.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
--ftEhullJWpWg/VHq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Jan 19, 2004 at 01:09:13PM +0100, Didier WIROTH wrote:
> Hi,
> I've this entry in syslog.conf (which is default):
>=20
> *.err;kern.debug;auth.notice;mail.crit /dev/console
>=20
> I would like also to log those messages in a file called for example:
> /var/log/console.critical (I want both, /dev/console and the log file!)
>=20
> How should I modify the above line to achive this?
Just add a second line with the same selectors, but a different
action. Eg.
*.err;kern.debug;auth.notice;mail.crit /dev/console
*.err;kern.debug;auth.notice;mail.crit /var/log/console.critic=
al
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
--ftEhullJWpWg/VHq
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAC9u8dtESqEQa7a0RAjawAJ44JEcAj6YjrYgZnpyMGOSn8PzGmwCeJpEK
QuBTkf6JZI/l09DJRYBTowE=
=dDNr
-----END PGP SIGNATURE-----
--ftEhullJWpWg/VHq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040119132932.GB9851>
