Procházet zdrojové kódy

Bump a client authorization message from debug to info.

A user wants this for 14015, and it seems fairly reasonable.
Nick Mathewson před 9 roky
rodič
revize
20d0b1a04e
2 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 3 0
      changes/feature14015
  2. 2 2
      src/or/rendservice.c

+ 3 - 0
changes/feature14015

@@ -0,0 +1,3 @@
+  o Minor features (logging, hidden services):
+    - Elevate authorized-client message from DEBUG to INFO. Closes
+      ticket 14015.

+ 2 - 2
src/or/rendservice.c

@@ -1070,8 +1070,8 @@ rend_check_authorization(rend_service_t *service,
   }
 
   /* Allow the request. */
-  log_debug(LD_REND, "Client %s authorized for service %s.",
-            auth_client->client_name, service->service_id);
+  log_info(LD_REND, "Client %s authorized for service %s.",
+           auth_client->client_name, service->service_id);
   return 1;
 }