From e8cb869046f7ad9e9621188415a9e2b2de9ab577 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 18 Dec 2012 17:14:41 -0500 Subject: 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. --- ipalib/rpc.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipalib/rpc.py') diff --git a/ipalib/rpc.py b/ipalib/rpc.py index a5c5de55..077d99eb 100644 --- a/ipalib/rpc.py +++ b/ipalib/rpc.py @@ -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: -- cgit