Unverified Commit ef18dd39 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #782

Fix verbosity config option default
parents 7d412701 568a4868
...@@ -68,6 +68,7 @@ extern const atom_value console_verbosity; ...@@ -68,6 +68,7 @@ extern const atom_value console_verbosity;
extern const char* file_format; extern const char* file_format;
extern const char* file_name; extern const char* file_name;
extern const atom_value file_verbosity; extern const atom_value file_verbosity;
extern const bool inline_output;
} // namespace logger } // namespace logger
......
...@@ -81,11 +81,13 @@ actor_system_config::actor_system_config() ...@@ -81,11 +81,13 @@ actor_system_config::actor_system_config()
work_stealing_moderate_sleep_duration_us = to_us(ws::moderate_sleep_duration); work_stealing_moderate_sleep_duration_us = to_us(ws::moderate_sleep_duration);
work_stealing_relaxed_steal_interval = ws::relaxed_steal_interval; work_stealing_relaxed_steal_interval = ws::relaxed_steal_interval;
work_stealing_relaxed_sleep_duration_us = to_us(ws::relaxed_sleep_duration); work_stealing_relaxed_sleep_duration_us = to_us(ws::relaxed_sleep_duration);
logger_file_name = "actor_log_[PID]_[TIMESTAMP]_[NODE].log"; namespace lg = defaults::logger;
logger_file_format = "%r %c %p %a %t %C %M %F:%L %m%n"; logger_file_name = lg::file_name;
logger_console = atom("none"); logger_file_format = lg::file_format;
logger_console_format = "%m"; logger_console = lg::console;
logger_inline_output = false; logger_console_format = lg::console_format;
logger_inline_output = lg::inline_output;
logger_verbosity = lg::file_verbosity;
namespace mm = defaults::middleman; namespace mm = defaults::middleman;
middleman_network_backend = mm::network_backend; middleman_network_backend = mm::network_backend;
middleman_enable_automatic_connections = false; middleman_enable_automatic_connections = false;
......
...@@ -81,6 +81,7 @@ const atom_value console_verbosity = atom("trace"); ...@@ -81,6 +81,7 @@ const atom_value console_verbosity = atom("trace");
const char* file_format = "%r %c %p %a %t %C %M %F:%L %m%n"; const char* file_format = "%r %c %p %a %t %C %M %F:%L %m%n";
const char* file_name = "actor_log_[PID]_[TIMESTAMP]_[NODE].log"; const char* file_name = "actor_log_[PID]_[TIMESTAMP]_[NODE].log";
const atom_value file_verbosity = atom("trace"); const atom_value file_verbosity = atom("trace");
const bool inline_output = false;
} // namespace logger } // namespace logger
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment