Commit 5a63d1d5 authored by Max Kellermann's avatar Max Kellermann

LogInit: use ConfigParam::GetPath()

parent 6d409d27
...@@ -151,9 +151,8 @@ log_init(bool verbose, bool use_stdout, Error &error) ...@@ -151,9 +151,8 @@ log_init(bool verbose, bool use_stdout, Error &error)
return true; return true;
#endif #endif
} else { } else {
out_path = config_get_path(ConfigOption::LOG_FILE, error); out_path = param->GetPath();
return !out_path.IsNull() && return log_init_file(param->line, error);
log_init_file(param->line, error);
} }
} }
#endif #endif
......
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