Commit 1208a414 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Use logger for all injector messages.

parent 09556100
......@@ -10,7 +10,6 @@
#include <boost/uuid/uuid_io.hpp>
#include <chrono>
#include <ctime>
#include <iostream>
#include <fstream>
#include <string>
......@@ -561,7 +560,7 @@ void listen( InjectorConfig& config
sys::error_code ec;
proxy_server.start_listen(yield[ec]);
if (ec) {
std::cerr << "Failed to setup ouiservice proxy server: " << ec.message() << endl;
LOG_ERROR("Failed to setup ouiservice proxy server: ", ec.message());
return;
}
......@@ -629,7 +628,7 @@ int main(int argc, const char* argv[])
config = InjectorConfig(argc, argv);
}
catch(const exception& e) {
cerr << e.what() << endl;
LOG_ABORT(e.what());
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment