aboutsummaryrefslogtreecommitdiff
path: root/liblog
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-28 10:55:58 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-28 10:55:58 +0200
commit85d25eebd38bb278ad598a291a007938854945a4 (patch)
treeb6f26a8f5a301c9a18d7ab6de5805de7d660cade /liblog
parentfa0b4963e977c59586b41e146ea13f44bda714ab (diff)
downloadcmix-85d25eebd38bb278ad598a291a007938854945a4.tar.gz
cmix-85d25eebd38bb278ad598a291a007938854945a4.tar.bz2
cmix-85d25eebd38bb278ad598a291a007938854945a4.zip
Made changes so we can have a 1 Node cmix network.
Diffstat (limited to 'liblog')
-rw-r--r--liblog/logging.cpp3
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