On Mon, 2004-01-19 at 14:09, Didier WIROTH wrote:
> Hi,
> 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?


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 line
to whatever name you would like to call the file.

Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
"Unix IS user friendly.. It's just selective about who its friends are."

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to