[tor-commits] [tor/master] Bump a client authorization message from debug to info.

nickm at torproject.org nickm at torproject.org
Wed Jan 28 14:43:00 UTC 2015


commit 20d0b1a04e0949c1bb46858c117947131ee448e1
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jan 28 09:42:28 2015 -0500

    Bump a client authorization message from debug to info.
    
    A user wants this for 14015, and it seems fairly reasonable.
---
 changes/feature14015 |    3 +++
 src/or/rendservice.c |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/changes/feature14015 b/changes/feature14015
new file mode 100644
index 0000000..bd09b49
--- /dev/null
+++ b/changes/feature14015
@@ -0,0 +1,3 @@
+  o Minor features (logging, hidden services):
+    - Elevate authorized-client message from DEBUG to INFO. Closes
+      ticket 14015.
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 5a12d07..588d1bf 100644
--- a/src/or/rendservice.c
+++ b/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;
 }
 



More information about the tor-commits mailing list