summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-14 09:58:43 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-14 09:58:43 +0000
commita5aa80cc419d6831ce339496a1c644f2347496a2 (patch)
tree38dc3260f6b27132bc159ac236749bcec8408d3c /src/or/test.c
parenta0f16c619cca24d9904b3beb0902fdf7da4927df (diff)
downloadtor-a5aa80cc419d6831ce339496a1c644f2347496a2.tar.gz
tor-a5aa80cc419d6831ce339496a1c644f2347496a2.zip
make --debuglogfile (or any second log file) work
svn:r935
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 5d395d0f43..a248141287 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -589,7 +589,6 @@ test_dir_format()
&pk3_str_len));
memset(buf, 0, 2048);
- log_set_severity(LOG_WARN);
test_assert(router_dump_router_to_string(buf, 2048, &r1, pk2)>0);
strcpy(buf2, "router Magri testaddr1.foo.bar 9000 9002 9003 1000\n"
@@ -698,7 +697,6 @@ main(int c, char**v){
if(getconfig(c,v,&options))
exit(1);
#endif
- log_set_severity(LOG_ERR); /* make logging quieter */
crypto_seed_rng();