From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 04:37:52 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 2963616A4CE for ; Mon, 19 Jan 2004 04:37:52 -0800 (PST) Received: from mail.lphp.org (APastourelles-107-1-16-132.w80-14.abo.wanadoo.fr [80.14.185.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 226DB43D4C for ; Mon, 19 Jan 2004 04:37:41 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from admin.dioranews.local (ATuileries-108-2-1-224.w217-128.abo.wanadoo.fr [217.128.152.224]) by mail.lphp.org (8.12.10/8.12.10) with ESMTP id i0JCZJ3p056501; Mon, 19 Jan 2004 13:35:20 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Didier WIROTH , freebsd-questions@freebsd.org Date: Mon, 19 Jan 2004 13:37:29 +0100 User-Agent: KMail/1.5.4 References: <0HRQ008TLKF6LF@mail.etat.lu> In-Reply-To: <0HRQ008TLKF6LF@mail.etat.lu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401191337.29805.ajacoutot@lphp.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 12:37:52 -0000 On Monday 19 January 2004 13:09, Didier WIROTH wrote: > I've this entry in syslog.conf (which is default): > > *.err;kern.debug;auth.notice;mail.crit /dev/console > > 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!) > > How should I modify the above line to achive this? For /etc/syslog.conf: # uncomment this to log all writes to /dev/console to /var/log/console.log # console.info /var/log/console.log