diff options
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 }, |
@@ -267,8 +268,9 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
267 | argv0 = av0; | 268 | argv0 = av0; |
268 | 269 | ||
269 | switch (level) { | 270 | switch (level) { |
270 | case SYSLOG_LEVEL_QUIET: | 271 | case SYSLOG_LEVEL_SILENT: |
271 | case SYSLOG_LEVEL_FATAL: | 272 | case SYSLOG_LEVEL_FATAL: |
273 | case SYSLOG_LEVEL_QUIET: | ||
272 | case SYSLOG_LEVEL_ERROR: | 274 | case SYSLOG_LEVEL_ERROR: |
273 | case SYSLOG_LEVEL_INFO: | 275 | case SYSLOG_LEVEL_INFO: |
274 | case SYSLOG_LEVEL_VERBOSE: | 276 | case SYSLOG_LEVEL_VERBOSE: |