diff --git a/nano/node/cli.cpp b/nano/node/cli.cpp index 26fe004923..4bb19c8747 100644 --- a/nano/node/cli.cpp +++ b/nano/node/cli.cpp @@ -254,6 +254,9 @@ std::error_code nano::handle_node_options (boost::program_options::variables_map if (vm.count ("initialize")) { + // TODO: --config flag overrides are not taken into account here + nano::nlogger::initialize (nano::log_config::daemon_default (), data_path); + auto node_flags = nano::inactive_node_flag_defaults (); node_flags.read_only = false; nano::update_flags (node_flags, vm);