diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-12 09:39:08 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-12 09:39:08 +0200 |
commit | e837b78f6aa9a312f24a3cab2ba9095ffbd117b7 (patch) | |
tree | 0feff80a1e27f5bdd6684066e3f60ef4eb373dca /runtime/srutils.c | |
parent | dca1a4ef92938f9a31471ad50b8feccf38bafed6 (diff) | |
download | rsyslog-e837b78f6aa9a312f24a3cab2ba9095ffbd117b7.tar.gz rsyslog-e837b78f6aa9a312f24a3cab2ba9095ffbd117b7.tar.bz2 rsyslog-e837b78f6aa9a312f24a3cab2ba9095ffbd117b7.zip |
add BSD-specific syslog facilities
* "console"
* "bsd_security" - this is called "security" under BSD, but that name
was unfortunately already taken by some standard facility. So I
Diffstat (limited to 'runtime/srutils.c')
-rw-r--r-- | runtime/srutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/srutils.c b/runtime/srutils.c index 6a509b4a..8eb2459c 100644 --- a/runtime/srutils.c +++ b/runtime/srutils.c @@ -86,6 +86,7 @@ syslogName_t syslogFacNames[] = { {"mark", LOG_MARK}, /* INTERNAL */ {"news", LOG_NEWS}, {"security", LOG_AUTH}, /* DEPRECATED */ + {"bsd_security", (13<<3) }, /* BSD-specific, unfortunatly with duplicate name... */ {"syslog", LOG_SYSLOG}, {"user", LOG_USER}, {"uucp", LOG_UUCP}, @@ -95,6 +96,7 @@ syslogName_t syslogFacNames[] = { #if defined(LOG_AUDIT) {"audit", LOG_AUDIT}, #endif + {"console", (14 << 3)}, /* BSD-specific priority */ {"local0", LOG_LOCAL0}, {"local1", LOG_LOCAL1}, {"local2", LOG_LOCAL2}, |