Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 13:37:29 +0100
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        Didier WIROTH <didier.wiroth@mcesr.etat.lu>, freebsd-questions@freebsd.org
Subject:   Re: syslog question
Message-ID:  <200401191337.29805.ajacoutot@lphp.org>
In-Reply-To: <0HRQ008TLKF6LF@mail.etat.lu>
References:  <0HRQ008TLKF6LF@mail.etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401191337.29805.ajacoutot>