1833189 Members
2819 Online
110051 Solutions
New Discussion

syslog.conf informations

 
Frederic Sevestre
Honored Contributor

syslog.conf informations



Hello,

I have a syslog.conf configured with the following line includes after the default lines setting :

"local3.notice doduc,vergnes,kace"

How can i found the facilitie attached to the "local3" parameter ?

Where do we configure the local facilities that we found in the syslog.conf ?

Thank you by advance for your help,

Best regards,

Frederic.
Crime doesn't pay...does that mean that my job is a crime ?
1 REPLY 1
Jordan Bean
Honored Contributor

Re: syslog.conf informations


Add a file to it:

local3.notice doduc,vergnes,kace
local3.debug /var/adm/syslog/local3.log

Then HUP syslogd and watch the file.

kill -HUP $(cat /var/run/syslog.pid)
tail -f /var/adm/syslog/local3.log



There are only 8 "local" facilities (local0 to local7) that any program or shell script (man logger) use by name. No centralized configuration file exists to define which program logs to which facility; It is up the program to pick the facility. In many cases this is hardcoded; However, some others (like BIND8,9) are customizable.