Log info on failure to connect

When multiple servers are avilable we were simply suppressing information on
why a connection failed.
Log it as 'info' so that it is possible to diagnose issues more easily.
This commit is contained in:
Simo Sorce authored and Martin Kosek committed 2012-12-19 09:50:43 +01:00
1 parent b3ea7d2d62
commit e8cb869046
1 file changed
+2
+2
View File
@@ -665,6 +665,8 @@ class xmlclient(Connectible):
except Exception, e:
if not fallback:
raise
else:
self.log.info('Connection to %s failed with %s', url, e)
serverproxy = None
if serverproxy is None: