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