diff --git a/libdaemon/server/daemon-log.c b/libdaemon/server/daemon-log.c index abe602b3f..2bebf41b1 100644 --- a/libdaemon/server/daemon-log.c +++ b/libdaemon/server/daemon-log.c @@ -166,7 +166,7 @@ static int _parse_one(log_state *s, int outlet, const char *type, int enable) daemon_log_enable(s, outlet, DAEMON_LOG_ERROR, enable); else if (!strcmp(type, "warn")) daemon_log_enable(s, outlet, DAEMON_LOG_WARN, enable); - else if (!strcmp(type, "warn")) + else if (!strcmp(type, "info")) daemon_log_enable(s, outlet, DAEMON_LOG_INFO, enable); else if (!strcmp(type, "wire")) daemon_log_enable(s, outlet, DAEMON_LOG_WIRE, enable);