diff --git a/common/src/logging.cpp b/common/src/logging.cpp index 4d44c4228d8db3cb75f239f7f69d5d1b6a10c4b8..9cf5b15d4273ca0dfa5a16e19ac79c3e2d7ba873 100644 --- a/common/src/logging.cpp +++ b/common/src/logging.cpp @@ -35,7 +35,7 @@ void initLogging() { //Setup a command line logger //only print timestamp (without date), severity and message to terminal auto setupCmdLogger() -> decltype(boost::log::add_console_log()) { - auto logger = boost::log::add_console_log(std::cout, + auto logger = boost::log::add_console_log(std::clog, boost::log::keywords::format = (boost::log::expressions::stream << "[" << boost::log::expressions::format_date_time("TimeStamp", "%H:%M:%S") << "]" << " <" << boost::log::trivial::severity << ">"