]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Downgrade bug 7164 warning to INFO
authorNick Mathewson <nickm@torproject.org>
Thu, 1 May 2014 15:42:02 +0000 (11:42 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 1 May 2014 15:42:02 +0000 (11:42 -0400)
The 0.2.5.x warning is the one that might help us track this down; the
warnings in stable are just annoying users over and over and over.

changes/bug7164_downgrade [new file with mode: 0644]
src/or/microdesc.c

diff --git a/changes/bug7164_downgrade b/changes/bug7164_downgrade
new file mode 100644 (file)
index 0000000..4d75586
--- /dev/null
@@ -0,0 +1,6 @@
+  o Minor bugfixes:
+    - Downgrade the warning severity for the the "md was still referenced 1
+      node(s)" warning. Tor 0.2.5.4-alpha has better code for trying to
+      diagnose this bug, and the current warning in earlier versions of
+      tor achieves nothing useful. Addresses warning from bug 7164.
+
index b4d22c1c625a622c2d37f73b92f7c225b7a47d78..4acec6ae3d77035dc59805219f4f843492b14e59 100644 (file)
@@ -561,7 +561,7 @@ microdesc_free(microdesc_t *md)
         }
       });
     if (found) {
-      log_warn(LD_BUG, "microdesc_free() called, but md was still referenced "
+      log_info(LD_BUG, "microdesc_free() called, but md was still referenced "
                "%d node(s); held_by_nodes == %u", found, md->held_by_nodes);
     } else {
       log_warn(LD_BUG, "microdesc_free() called with held_by_nodes set to %u, "