[tor-commits] [tor/master] Log more info when a service descriptor has the wrong number of intro points

nickm at torproject.org nickm at torproject.org
Tue Mar 14 16:09:01 UTC 2017


commit c99d0e742adbe878d8126a49573e83462a61742e
Author: teor <teor2345 at gmail.com>
Date:   Sat Mar 4 22:44:21 2017 +1100

    Log more info when a service descriptor has the wrong number of intro points
    
    Depends on 21598, part of 21622.
---
 src/or/rendservice.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 8f978d0..2b7c6bf 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1134,7 +1134,8 @@ rend_service_update_descriptor(rend_service_t *service)
            "descriptor was updated with %d instead.",
            service->service_id,
            service->n_intro_points_wanted, have_intro);
-    rend_service_dump_stats(severity);
+    /* Now log an informative message about how we might have got here. */
+    rend_log_intro_limit(service, severity);
   }
 }
 





More information about the tor-commits mailing list