Skip to content
Snippets Groups Projects
Commit 9b4e8486 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Keep temporary log in place while configuring logs

svn:r1919
parent 994c9cbd
No related branches found
No related tags found
No related merge requests found
......@@ -564,11 +564,11 @@ static int init_from_config(int argc, char **argv) {
start_daemon(options.DataDirectory);
}
close_logs(); /* we'll close, then open with correct loglevel if necessary */
/* Configure the log(s) */
if (config_init_logs(&options)<0)
return -1;
/* Close the temporary log we used while starting up, if it isn't already
* gone. */
close_temp_logs();
/* Set up our buckets */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment