aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index eb7a1a05f..be14c80d0 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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 */