summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 714522f)
raw | patch | inline | side by side (parent: 714522f)
author | Wilfried Goesgens <dothebart@citadel.org> | |
Sat, 7 Jun 2014 10:01:32 +0000 (12:01 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 3 Nov 2014 12:41:36 +0000 (13:41 +0100) |
src/syslog.c | patch | blob | history |
diff --git a/src/syslog.c b/src/syslog.c
index 4f5d0c4a2b84c6ebf20349c7247bdc9b26456f44..1a70fd00e2ccde849b8492cc1ba27828939afe65 100644 (file)
--- a/src/syslog.c
+++ b/src/syslog.c
{
log_level = parse_log_severity (value);
if (log_level < 0)
+ {
+ log_level = LOG_INFO;
+ ERROR ("syslog: invalid loglevel [%s] defauling to 'info'", value);
return (1);
+ }
}
else if (strcasecmp (key, "NotifyLevel") == 0)
{