diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-09-10 23:30:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-10 23:34:43 -0400 |
commit | 93dfb1203715bd275d0eed6c8cccf6b6db76fd95 (patch) | |
tree | c6da409f3293b602cbc2c0c54feeba694402fa9a /src/test/bench.c | |
parent | 6e2ef4bc5ef882b3434d2fe15c1007b4ac711374 (diff) | |
download | tor-93dfb1203715bd275d0eed6c8cccf6b6db76fd95.tar.gz tor-93dfb1203715bd275d0eed6c8cccf6b6db76fd95.zip |
Remember log messages that happen before logs are configured
(And replay them once we know our first real logs.)
This is an implementation for issue 6938. It solves the problem of
early log mesages not getting sent to log files, but not the issue of
early log messages not getting sent to controllers.
Diffstat (limited to 'src/test/bench.c')
-rw-r--r-- | src/test/bench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench.c b/src/test/bench.c index f6c33626f2..70bac63727 100644 --- a/src/test/bench.c +++ b/src/test/bench.c @@ -569,7 +569,7 @@ main(int argc, const char **argv) crypto_seed_rng(1); crypto_init_siphash_key(); options = options_new(); - init_logging(); + init_logging(1); options->command = CMD_RUN_UNITTESTS; options->DataDirectory = tor_strdup(""); options_init(options); |