log files

Mark Musone mmusone at shatterit.com
Mon Feb 16 09:49:28 EST 2004


You can change what log messages go where by editing the
/etc/syslog.conf file.

If you look at the file, it's fairly self-explanatory and you usually
only need to uncomment a few lines that’s already there to change the
behavior of syslog.
Note, you need to stop and restart syslogd in order for the changes to
take effect..
(man syslog.conf)


The long answer of this is that applications use two different parts for
logging, one is a "facility" and the other is a "priority"

A "facility" in syslog land is essentially just a category, and a
"priority" is exactly that, a piority.


The man page of the particular application will usually tell you what
facility and priority they log under..

-Mark



-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
Cyber Source
Sent: Monday, February 16, 2004 9:29 AM
To: nflug at nflug.org
Subject: log files

Anyone know of an easy way to have certain services send there log 
messages to a different place. For instance, to send DHCP messages to a 
different file other than the standard /var/log/messages. Or for any 
other service like PPP. It would make reading the log files much better.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
 





More information about the nflug mailing list