瀏覽代碼

Log more info when a service descriptor has the wrong number of intro points

Depends on 21598, part of 21622.
teor 7 年之前
父節點
當前提交
c99d0e742a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/or/rendservice.c

+ 2 - 1
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);
   }
 }