LogInit: use ConfigParam::GetPath()
This commit is contained in:
parent
6d409d27ca
commit
5a63d1d5a4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user