diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-10 22:46:19 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-10 22:46:19 +0100 |
commit | 7e606441165c0b4780d876157b336ab092cbd84c (patch) | |
tree | 95e70bdebf6d44f61662089a5a15d1ddd8f9f0fc /src | |
parent | 83a57b493a992ea202faf2ce223b660d211c00d4 (diff) | |
download | dabmod-7e606441165c0b4780d876157b336ab092cbd84c.tar.gz dabmod-7e606441165c0b4780d876157b336ab092cbd84c.tar.bz2 dabmod-7e606441165c0b4780d876157b336ab092cbd84c.zip |
Reorder some startup messages
Diffstat (limited to 'src')
-rw-r--r-- | src/ConfigParser.cpp | 1 | ||||
-rw-r--r-- | src/DabMod.cpp | 9 | ||||
-rw-r--r-- | src/RemoteControl.cpp | 1 | ||||
-rw-r--r-- | src/Utils.cpp | 7 |
4 files changed, 8 insertions, 10 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index b593e61..3c75026 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -99,7 +99,6 @@ static void parse_configfile( if (pt.get("remotecontrol.zmqctrl", 0) == 1) { try { std::string zmqCtrlEndpoint = pt.get("remotecontrol.zmqctrlendpoint", ""); - std::cerr << "ZmqCtrlEndpoint: " << zmqCtrlEndpoint << std::endl; auto zmqrc = make_shared<RemoteControllerZmq>(zmqCtrlEndpoint); rcs.add_controller(zmqrc); } diff --git a/src/DabMod.cpp b/src/DabMod.cpp index b32231a..e68202e 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -254,10 +254,17 @@ int launch_modulator(int argc, char* argv[]) throw runtime_error("Could not set signal handler: " + errstr); } + printStartupInfo(); + mod_settings_t mod_settings; parse_args(argc, argv, mod_settings); - printStartupInfo(); + etiLog.level(info) << "Configuration parsed. Starting up version " << +#if defined(GITVERSION) + GITVERSION; +#else + VERSION; +#endif if (not (mod_settings.useFileOutput or mod_settings.useUHDOutput or diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp index 0060075..a346386 100644 --- a/src/RemoteControl.cpp +++ b/src/RemoteControl.cpp @@ -388,7 +388,6 @@ void RemoteControllerZmq::send_fail_reply(zmq::socket_t &pSocket, const std::str void RemoteControllerZmq::process() { // create zmq reply socket for receiving ctrl parameters - etiLog.level(info) << "Starting zmq remote control thread"; try { zmq::socket_t repSocket(m_zmqContext, ZMQ_REP); diff --git a/src/Utils.cpp b/src/Utils.cpp index dd63862..4d97359 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -147,13 +147,6 @@ void printVersion(void) void printStartupInfo() { printHeader(); - - etiLog.level(info) << "Starting up version " << -#if defined(GITVERSION) - GITVERSION; -#else - VERSION; -#endif } int set_realtime_prio(int prio) |