[tor-commits] [obfsproxy/master] Demote 'Error talking to ...' logs to the 'info' severity.

nickm at torproject.org nickm at torproject.org
Wed Feb 15 17:50:33 UTC 2012


commit a58146de85899f73a2c8b9abe3b8de8b6cb25dc8
Author: George Kadianakis <desnacked at riseup.net>
Date:   Wed Feb 15 19:39:32 2012 +0200

    Demote 'Error talking to ...' logs to the 'info' severity.
---
 src/network.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/network.c b/src/network.c
index 4908409..d001c1f 100644
--- a/src/network.c
+++ b/src/network.c
@@ -837,7 +837,7 @@ error_cb(struct bufferevent *bev, short what, void *arg)
   obfs_assert(!(what & BEV_EVENT_CONNECTED));
 
   if (what & BEV_EVENT_ERROR) {
-    log_warn("Error talking to %s: %s",
+    log_info("Error talking to %s: %s",
              safe_str(conn->peername),
              evutil_socket_error_to_string(errcode));
   } else if (what & BEV_EVENT_EOF) {



More information about the tor-commits mailing list