diff --git a/src/lib/logging/Sink.cpp b/src/lib/logging/Sink.cpp index 79e77664b..4760fa9f8 100644 --- a/src/lib/logging/Sink.cpp +++ b/src/lib/logging/Sink.cpp @@ -41,15 +41,14 @@ struct InitSysLog { auto formatter() { return [] (LogMsg const&m) { - return fmt::format("{}| {:<10} {:<8} | {} --- {}:{} tid:{} pid:{}", + return fmt::format("{}|{:<8}|{:<4}|{:<15}|{:<4}|{:<35}| {} ", datetime::time_string(datetime::now()), m.subsystem_name, m.level_name, - m.msg, - boost::filesystem::path(m.file).filename().string() , - m.line, m.tid, - os::process_id()); + os::process_id(), + fmt::format("{}:{}",boost::filesystem::path(m.file).filename().string() , m.line), + m.msg); }; }