From e96b67d1d324411c11387bb3029d602ef6e492a2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 11 May 2014 19:12:14 +0200 Subject: Fix syslog option The syslog option had to be used with 0 or 1, instead of true/false --- src/ParserConfigfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ParserConfigfile.cpp b/src/ParserConfigfile.cpp index f515a5c..1302c11 100644 --- a/src/ParserConfigfile.cpp +++ b/src/ParserConfigfile.cpp @@ -159,7 +159,7 @@ void parse_configfile(string configuration_file, *limit = pt_general.get("nbframes", 0); /* Enable Logging to syslog conditionally */ - if (pt_general.get("syslog", 0)) { + if (pt_general.get("syslog", false)) { etiLog.register_backend(new LogToSyslog()); // TODO don't leak the LogToSyslog backend } -- cgit v1.2.3