From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 04:50:34 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 914A316A4CE for ; Mon, 19 Jan 2004 04:50:34 -0800 (PST) Received: from mail.8ball.co.za (8ball.co.za [192.96.48.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id D493243D2F for ; Mon, 19 Jan 2004 04:50:29 -0800 (PST) (envelope-from nelis@8ball.co.za) Received: (qmail 19452 invoked by uid 89); 19 Jan 2004 12:43:40 -0000 Received: from unknown (HELO ?192.168.10.3?) (192.168.10.3) by 192.168.10.1 with SMTP; 19 Jan 2004 12:43:40 -0000 From: Nelis Lamprecht To: Didier WIROTH In-Reply-To: <0HRQ008TLKF6LF@mail.etat.lu> References: <0HRQ008TLKF6LF@mail.etat.lu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BNEPEFv+CdwQ9EfWWi0Z" Message-Id: <1074516215.95445.25.camel@enigma.8ball.co.za> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 19 Jan 2004 14:43:35 +0200 cc: freebsd-questions@freebsd.org Subject: Re: syslog question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nelis@8ball.co.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 12:50:34 -0000 --=-BNEPEFv+CdwQ9EfWWi0Z Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-01-19 at 14:09, 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? Hi, If you read further down in the file you will see this: # uncomment this to log all writes to /dev/console to /var/log/console.log #console.info /var/log/console.log Just do as it says to log to a file as_well_as console. Change the above li= ne to whatever name you would like to call the file. --=20 Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." --=-BNEPEFv+CdwQ9EfWWi0Z 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) iD8DBQBAC9D3QfIMKiRMCrERApGRAKCRb7ZR75DV0KECjk2DF3sOwQ0OYgCg6GMV N29FHYnNHyzxGHYpH2SI2qI= =dN19 -----END PGP SIGNATURE----- --=-BNEPEFv+CdwQ9EfWWi0Z--