diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-02 05:38:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-02 05:38:53 +0000 |
commit | c0ec2815652842bdb2b533c2a8ddd125f26730fb (patch) | |
tree | e78f5db19a5bbb0634b39a0ad8172d6cd4029795 /src/or/main.c | |
parent | feb1c60e9d4cf6f3f17feabd7278ace97c5fd3ed (diff) | |
download | tor-c0ec2815652842bdb2b533c2a8ddd125f26730fb.tar.gz tor-c0ec2815652842bdb2b533c2a8ddd125f26730fb.zip |
r15784@tombo: nickm | 2008-01-02 00:38:06 -0500
Fix bug 575: protect the list of logs with a mutex. I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you.
svn:r13019
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index c9ac54dc8e..22c3175e61 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1945,6 +1945,7 @@ tor_main(int argc, char *argv[]) _tor_dmalloc_free); log_notice(LD_CONFIG, "Set up dmalloc; returned %d", r); #endif + init_logging(); #ifdef NT_SERVICE { int done = 0; |