diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-01 00:51:03 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-01 00:51:03 +0000 |
commit | 79cf0b3654d7b597de323153eb57015cdfbd90a4 (patch) | |
tree | 274e78bc3369e218e59aa1fcc9b7e90697f424f1 /log.c | |
parent | d984a3c6658e950881edcfb2aae464add93f68d4 (diff) |
Debian release 3.4p1-1.
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -76,8 +76,9 @@ static struct { | |||
76 | LogLevel val; | 76 | LogLevel val; |
77 | } log_levels[] = | 77 | } log_levels[] = |
78 | { | 78 | { |
79 | { "QUIET", SYSLOG_LEVEL_QUIET }, | 79 | { "SILENT", SYSLOG_LEVEL_SILENT }, |
80 | { "FATAL", SYSLOG_LEVEL_FATAL }, | 80 | { "FATAL", SYSLOG_LEVEL_FATAL }, |
81 | { "QUIET", SYSLOG_LEVEL_QUIET }, | ||
81 | { "ERROR", SYSLOG_LEVEL_ERROR }, | 82 | { "ERROR", SYSLOG_LEVEL_ERROR }, |
82 | { "INFO", SYSLOG_LEVEL_INFO }, | 83 | { "INFO", SYSLOG_LEVEL_INFO }, |
83 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, | 84 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, |
@@ -246,8 +247,9 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
246 | argv0 = av0; | 247 | argv0 = av0; |
247 | 248 | ||
248 | switch (level) { | 249 | switch (level) { |
249 | case SYSLOG_LEVEL_QUIET: | 250 | case SYSLOG_LEVEL_SILENT: |
250 | case SYSLOG_LEVEL_FATAL: | 251 | case SYSLOG_LEVEL_FATAL: |
252 | case SYSLOG_LEVEL_QUIET: | ||
251 | case SYSLOG_LEVEL_ERROR: | 253 | case SYSLOG_LEVEL_ERROR: |
252 | case SYSLOG_LEVEL_INFO: | 254 | case SYSLOG_LEVEL_INFO: |
253 | case SYSLOG_LEVEL_VERBOSE: | 255 | case SYSLOG_LEVEL_VERBOSE: |