[Date Prev][Date Next] [Chronological] [Thread] [Top]

please allow logging to DAEMON (ITS#3187)



Full_Name: Peter Marschall
Version: 2.1.30 / 2.2.13
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.236.99.46)


Please allow logging to the DAEMON syslog facility.

The following patch should do the trick:

--- servers/slapd/main.c
+++ servers/slapd/main.c        2003-04-30 21:57:07.000000000 -0400
@@ -75,6 +75,7 @@
        { "LOCAL5", sizeof("LOCAL5"), LOG_LOCAL5 },
        { "LOCAL6", sizeof("LOCAL6"), LOG_LOCAL6 },
        { "LOCAL7", sizeof("LOCAL7"), LOG_LOCAL7 },
+       { "DAEMON", sizeof("DAEMON"), LOG_DAEMON },
        { NULL, 0, 0 }
 };

If OpenLDAP is used as authentication backend, maybe even AUTH might
be a sensible facility to allow.

TIA
Peter