diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-05-24 02:28:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-05-24 02:28:15 +0000 |
commit | 9b4e8486cee190a41b0317e54e9f01dd6156992b (patch) | |
tree | 27f0d587f4ac5ac09618abff56a7be4eee4a5840 /src | |
parent | 994c9cbd7ec63c1a838f9c4af72baf85381f8e95 (diff) | |
download | tor-9b4e8486cee190a41b0317e54e9f01dd6156992b.tar.gz tor-9b4e8486cee190a41b0317e54e9f01dd6156992b.zip |
Keep temporary log in place while configuring logs
svn:r1919
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index eb7a1a05fb..be14c80d06 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 */ |