aboutsummaryrefslogtreecommitdiff
path: root/src/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syslog.c')
-rw-r--r--src/syslog.c27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/syslog.c b/src/syslog.c
index ac1ac4d..b50762f 100644
--- a/src/syslog.c
+++ b/src/syslog.c
@@ -101,9 +101,21 @@ static struct {
char *name;
} syslog_kw[] = {
#define GAMMA_CONST(s) { s, #s }
- GAMMA_CONST(LOG_USER),
+ GAMMA_CONST(LOG_AUTH),
+#ifdef LOG_AUTHPRIV
+ GAMMA_CONST(LOG_AUTHPRIV),
+#endif
+ GAMMA_CONST(LOG_CRON),
GAMMA_CONST(LOG_DAEMON),
- GAMMA_CONST(LOG_AUTH),
+#ifdef LOG_FTP
+ GAMMA_CONST(LOG_FTP),
+#endif
+ GAMMA_CONST(LOG_USER),
+ GAMMA_CONST(LOG_LPR),
+ GAMMA_CONST(LOG_MAIL),
+ GAMMA_CONST(LOG_NEWS),
+ GAMMA_CONST(LOG_SYSLOG),
+ GAMMA_CONST(LOG_UUCP),
GAMMA_CONST(LOG_LOCAL0),
GAMMA_CONST(LOG_LOCAL1),
GAMMA_CONST(LOG_LOCAL2),
@@ -121,10 +133,17 @@ static struct {
GAMMA_CONST(LOG_NOTICE),
GAMMA_CONST(LOG_INFO),
GAMMA_CONST(LOG_DEBUG),
- /* options */
+ /* options */
GAMMA_CONST(LOG_CONS),
GAMMA_CONST(LOG_NDELAY),
- GAMMA_CONST(LOG_PID)
+ GAMMA_CONST(LOG_PID),
+ GAMMA_CONST(LOG_NOWAIT),
+#ifdef LOG_ODELAY
+ GAMMA_CONST(LOG_ODELAY),
+#endif
+#ifdef LOG_PERROR
+ GAMMA_CONST(LOG_PERROR)
+#endif
};
void

Return to:

Send suggestions and report system problems to the System administrator.