From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 05:29:40 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 DE72C16A4CE for ; Mon, 19 Jan 2004 05:29:40 -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 9304F43D39 for ; Mon, 19 Jan 2004 05:29:37 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0JDTWse011182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jan 2004 13:29:33 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0JDTWKJ011181; Mon, 19 Jan 2004 13:29:32 GMT (envelope-from matthew) Date: Mon, 19 Jan 2004 13:29:32 +0000 From: Matthew Seaman To: Didier WIROTH Message-ID: <20040119132932.GB9851@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Didier WIROTH , freebsd-questions@freebsd.org References: <0HRQ008TLKF6LF@mail.etat.lu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline In-Reply-To: <0HRQ008TLKF6LF@mail.etat.lu> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: syslog question 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, 19 Jan 2004 13:29:41 -0000 --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--