diff options
Diffstat (limited to 'liblog')
| -rw-r--r-- | liblog/logging.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/liblog/logging.cpp b/liblog/logging.cpp index c92247c..6bbf070 100644 --- a/liblog/logging.cpp +++ b/liblog/logging.cpp @@ -18,7 +18,8 @@ void init_logging(boost::log::trivial::severity_level log_level) ( boost::log::keywords::file_name = "node%N.log", boost::log::keywords::rotation_size = 10 * 1024 * 1024, - boost::log::keywords::format = "[%Severity%] (%TimeStamp%): %Message%" + boost::log::keywords::format = "[%Severity%] (%TimeStamp%): %Message%", + boost::log::keywords::auto_flush = true ); boost::log::core::get()->set_filter |
