[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Log a notice *after* creating connection



commit 27c868eff19dbcc208f6db66ec3e2de2104fa754
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Sun May 20 19:10:02 2018 +0200

    Log a notice *after* creating connection
---
 src/core/mainloop/connection.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index f435b2985..a32e3b4f2 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -1486,6 +1486,8 @@ connection_listener_new(const struct sockaddr *listensockaddr,
    */
   connection_check_oos(get_n_open_sockets(), 0);
 
+  log_notice(LD_NET, "Opened %s on %s",
+             conn_type_to_string(type), fmt_addrport(&addr, usePort));
   return conn;
 
  err:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits