summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 19:55:38 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 19:55:38 +0100
commitcba2e4929392272ce09219d1a691c059a580ab41 (patch)
tree0e1ddabe3ac19edda649ed1a897a53fdc5d1cf69 /src/DabMux.cpp
parentc1da0ac7cca49e0b96dbb359ee48000cb04df15b (diff)
downloaddabmux-cba2e4929392272ce09219d1a691c059a580ab41.tar.gz
dabmux-cba2e4929392272ce09219d1a691c059a580ab41.tar.bz2
dabmux-cba2e4929392272ce09219d1a691c059a580ab41.zip
fix startup console printout
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index b4a2a41..ca82889 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -342,14 +342,6 @@ int main(int argc, char *argv[])
parse_configfile(conf_file, outputs, ensemble, &enableTist, &FICL,
&factumAnalyzer, &limit, rc, &statsserverport);
- printSubchannels(ensemble->subchannels);
- cerr << endl;
- printServices(ensemble->services);
- cerr << endl;
- printComponents(ensemble->components);
- cerr << endl;
- printOutputs(outputs);
-
}
catch (runtime_error &e) {
etiLog.log(error, "Configuration file parsing error: %s\n",
@@ -372,7 +364,14 @@ int main(int argc, char *argv[])
}
- etiLog.log(info, "ODR-DabMux starting up");
+ etiLog.level(info) <<
+ PACKAGE_NAME << " " <<
+#if defined(GITVERSION)
+ GITVERSION <<
+#else
+ PACKAGE_VERSION <<
+#endif
+ " starting up";
if (outputs.size() == 0) {
etiLog.log(emerg, "no output defined");