As well as the common system facilities (mail
, news
, daemon
, cron
, etc), syslog provides a series of "local" facilities, numbers 0 to 7: LOCAL0
, LOCAL1
, ..., LOCAL7
.
Which ones are program defaults for common applications?
I'm looking to find out which facilities are "traditionally" used for well known services. I will be deploying an application over many servers, with various software installed, and would like to see if there's a "free" facility I could easily use for my own logs.
As a note, I realize there are other ways of doing this than a syslog facility. Just curious!
Here are some, (a start to answering my own question) and some thanks to voretaq7:
LOCAL0
is used by postgresqlLOCAL2
is used by sudoLOCAL3
is used by some versions of SpamAssassinLOCAL4
is used by default by slapd (OpenLDAP server)LOCAL5
is sometimes used by the Snort IDSLOCAL7
is used for boot messages on Fedora 12