Syslog and LOG_LOCALn?

Mark Polhamus meplists at earthlink.net
Tue Sep 17 21:23:35 EDT 2002


Are there any conventions for the use of syslog facility codes LOG_LOCAL0 thru 
LOG_LOCAL7?

Pppd apparently uses LOG_LOCAL2.  (Does anyone know if that is compiled in or 
in some configuration file that I haven't found?).  Any other examples of 
popular software that is using one of the local codes?

I was suprised to learn there were only 24 codes, I just thought the facility 
identifier would be a string.

I'm writing a backup utility.  I think I would be best to use syslog, except 
maybe for larger output which it could write to a file in /var/log/.  Does 
that sound right?  I'll make the facility code configurable.


-- Mark Polhamus
-- meplists at earthlink.net





More information about the gnhlug-discuss mailing list