On Mon, Jan 19, 2004 at 01:09:13PM +0100, 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?
Just add a second line with the same selectors, but a different action. Eg. *.err;kern.debug;auth.notice;mail.crit /dev/console *.err;kern.debug;auth.notice;mail.crit /var/log/console.critical Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK
pgp00000.pgp
Description: PGP signature