syslog question
Antoine Jacoutot
ajacoutot at lphp.org
Mon Jan 19 04:37:52 PST 2004
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
More information about the freebsd-questions
mailing list