[Logger] Fix file logger

This commit is contained in:
emeric
2015-08-19 13:10:33 +02:00
parent 6fa1ba1300
commit 4b35e03ef8
+2 -2
View File
@@ -81,7 +81,7 @@ Logger::init()
boost::log::register_simple_formatter_factory< Severity, char >("Severity");
if (ConfigReader::instance().getBool("main.logger.file.enable"), false)
if (ConfigReader::instance().getBool("main.logger.file.enable", false))
{
boost::log::add_file_log
(
@@ -99,7 +99,7 @@ Logger::init()
);
}
if (ConfigReader::instance().getBool("main.logger.console.enable"), false)
if (ConfigReader::instance().getBool("main.logger.console.enable", false))
{
boost::log::add_console_log(std::cout,
boost::log::keywords::format = (