From 1e06e7c386350786361ce37e42d7fec096617606 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 11 Dec 2014 13:29:26 +0100 Subject: [PATCH] Adding a debug message during name resolution --- lib/controller/checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 9172904b5..aa6859c54 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1265,6 +1265,8 @@ def checkNullConnection(): def checkConnection(suppressOutput=False): if not any((conf.proxy, conf.tor, conf.dummy)): try: + debugMsg = "resolving hostname '%s'" % conf.hostname + logger.debug(debugMsg) socket.getaddrinfo(conf.hostname, None) except socket.gaierror: errMsg = "host '%s' does not exist" % conf.hostname