Commit 14d57a8b authored by Iustin Pop's avatar Iustin Pop
Browse files

ganeti-noded: reduce log noise

The source port/addr is currently logged three times for each
connection, and this is unnecessary. We change two log entries to debug,
since they are useful for precise timing, and we keep only one at INFO

Reviewed-by: imsnah
parent 801cda94
......@@ -253,7 +253,7 @@ class _HttpServerRequestExecutor(object):
# Operate in non-blocking mode
self.sock.setblocking(0)"Connection from %s:%s", client_addr[0], client_addr[1])
logging.debug("Connection from %s:%s", client_addr[0], client_addr[1])
request_msg_reader = None
force_close = True
......@@ -286,7 +286,7 @@ class _HttpServerRequestExecutor(object):
self.sock = None
finally:"Disconnected %s:%s", client_addr[0], client_addr[1])
logging.debug("Disconnected %s:%s", client_addr[0], client_addr[1])
def _ReadRequest(self):
"""Reads a request sent by client.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment