#define WORKER_NUM_MAX UINT64_C(2048)
+static int default_log_level = LOG_INFO;
static bool arg_debug = false;
bool arg_daemonize = false;
if (manager->config.trace)
manager->config.log_level = LOG_DEBUG;
else
- MERGE_NON_NEGATIVE(log_level, log_get_max_level());
+ MERGE_NON_NEGATIVE(log_level, default_log_level);
}
static void manager_merge_config(Manager *manager) {
assert(manager);
+ default_log_level = log_get_max_level();
+
manager_parse_udev_config(&manager->config_by_udev_conf);
r = parse_argv(argc, argv, &manager->config_by_command);