aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ParserConfigfile.cpp2
1 files changed, 1 insertions, 1 deletions
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<bool>("syslog", false)) {
etiLog.register_backend(new LogToSyslog()); // TODO don't leak the LogToSyslog backend
}