diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-01-24 18:27:05 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-01-24 18:27:05 +0100 |
commit | 561aae3b03cec35e14e529f0006155ee3db07df5 (patch) | |
tree | beb5cbb02fcb33aa762afc91cf8d1e29c216c651 /src/ConfigParser.cpp | |
parent | 8028302eb5b5f6ea77e57887f3b31bd9abafeb27 (diff) | |
download | dabmux-561aae3b03cec35e14e529f0006155ee3db07df5.tar.gz dabmux-561aae3b03cec35e14e529f0006155ee3db07df5.tar.bz2 dabmux-561aae3b03cec35e14e529f0006155ee3db07df5.zip |
Initialise syslog earlier, don't leak the syslog backend
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 7219663..f0ab13c 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -218,12 +218,6 @@ void parse_ptree( ensemble->mode = 0; } - /* Enable Logging to syslog conditionally */ - if (pt_general.get<bool>("syslog", false)) { - etiLog.register_backend(new LogToSyslog()); // TODO don't leak the LogToSyslog backend - } - - /******************** READ ENSEMBLE PARAMETERS *************/ ptree pt_ensemble = pt.get_child("ensemble"); |