aboutsummaryrefslogtreecommitdiff
path: root/liblog/logging.cpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-11-12 13:48:30 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-11-12 13:48:30 +0100
commitf93d52bbd0053574fb35d72b85c4b299dc1f3ee5 (patch)
tree4a2120a162ce9161d70074fd9ffa3ed21d80a40e /liblog/logging.cpp
parent8ff9babe2da4a2efc8529e800a6093fbd0327286 (diff)
downloadcmix-f93d52bbd0053574fb35d72b85c4b299dc1f3ee5.tar.gz
cmix-f93d52bbd0053574fb35d72b85c4b299dc1f3ee5.tar.bz2
cmix-f93d52bbd0053574fb35d72b85c4b299dc1f3ee5.zip
Fixes decryption share calculation, adds lots of debugging statements.
Diffstat (limited to 'liblog/logging.cpp')
-rw-r--r--liblog/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/logging.cpp b/liblog/logging.cpp
index 3b0c2c5..d34de9b 100644
--- a/liblog/logging.cpp
+++ b/liblog/logging.cpp
@@ -18,7 +18,7 @@ void init_logging(boost::log::trivial::severity_level log_level, std::string fil
(
boost::log::keywords::file_name = file_name + ".log",
boost::log::keywords::rotation_size = 10 * 1024 * 1024,
- boost::log::keywords::format = "[%Severity%] (%TimeStamp%): %Message%",
+ boost::log::keywords::format = "(%TimeStamp%):" + (" " + file_name + " ") + "[%Severity%] %Message%",
boost::log::keywords::auto_flush = true
);