[tor-commits] [tor/master] Downgrade open/close log message for SocksSocket

nickm at torproject.org nickm at torproject.org
Tue Jan 13 18:11:44 UTC 2015


commit a3bcde3638d035303a9a5bf8373c1b841a1f5636
Author: Andrea Shepard <andrea at torproject.org>
Date:   Wed Jan 7 22:57:51 2015 +0000

    Downgrade open/close log message for SocksSocket
---
 src/or/connection.c |    2 +-
 src/or/main.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/connection.c b/src/or/connection.c
index 51d891d..c78ceba 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1506,7 +1506,7 @@ connection_handle_listener_read(connection_t *conn, int new_type)
     if (new_type == CONN_TYPE_AP && conn->socket_family == AF_UNIX) {
       newconn->port = 0;
       newconn->address = tor_strdup(conn->address);
-      log_notice(LD_NET, "New SOCKS SocksSocket connection opened");
+      log_info(LD_NET, "New SOCKS SocksSocket connection opened");
       TO_ENTRY_CONN(newconn)->socks_request->socks_prefer_no_auth =
         TO_LISTENER_CONN(conn)->socks_prefer_no_auth;
     }
diff --git a/src/or/main.c b/src/or/main.c
index 0c49b40..233b444 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -386,7 +386,7 @@ connection_remove(connection_t *conn)
             smartlist_len(connection_array));
 
   if (conn->type == CONN_TYPE_AP && conn->socket_family == AF_UNIX) {
-    log_notice(LD_NET, "Closing SOCKS SocksSocket connection");
+    log_info(LD_NET, "Closing SOCKS SocksSocket connection");
   }
 
   control_event_conn_bandwidth(conn);





More information about the tor-commits mailing list