diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -89,8 +89,9 @@ static struct { | |||
89 | LogLevel val; | 89 | LogLevel val; |
90 | } log_levels[] = | 90 | } log_levels[] = |
91 | { | 91 | { |
92 | { "QUIET", SYSLOG_LEVEL_QUIET }, | 92 | { "SILENT", SYSLOG_LEVEL_SILENT }, |
93 | { "FATAL", SYSLOG_LEVEL_FATAL }, | 93 | { "FATAL", SYSLOG_LEVEL_FATAL }, |
94 | { "QUIET", SYSLOG_LEVEL_QUIET }, | ||
94 | { "ERROR", SYSLOG_LEVEL_ERROR }, | 95 | { "ERROR", SYSLOG_LEVEL_ERROR }, |
95 | { "INFO", SYSLOG_LEVEL_INFO }, | 96 | { "INFO", SYSLOG_LEVEL_INFO }, |
96 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, | 97 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, |
@@ -221,8 +222,9 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
221 | argv0 = av0; | 222 | argv0 = av0; |
222 | 223 | ||
223 | switch (level) { | 224 | switch (level) { |
224 | case SYSLOG_LEVEL_QUIET: | 225 | case SYSLOG_LEVEL_SILENT: |
225 | case SYSLOG_LEVEL_FATAL: | 226 | case SYSLOG_LEVEL_FATAL: |
227 | case SYSLOG_LEVEL_QUIET: | ||
226 | case SYSLOG_LEVEL_ERROR: | 228 | case SYSLOG_LEVEL_ERROR: |
227 | case SYSLOG_LEVEL_INFO: | 229 | case SYSLOG_LEVEL_INFO: |
228 | case SYSLOG_LEVEL_VERBOSE: | 230 | case SYSLOG_LEVEL_VERBOSE: |