diff options
author | Simo Sorce <simo@redhat.com> | 2012-12-18 17:14:41 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-12-19 09:50:43 +0100 |
commit | e8cb869046f7ad9e9621188415a9e2b2de9ab577 (patch) | |
tree | 2f2c7e309f1eaad354459d66f3b3b3dd064602d6 | |
parent | b3ea7d2d626da9ffb86777bed9bbdf8d96849bc5 (diff) | |
download | freeipa-e8cb869046f7ad9e9621188415a9e2b2de9ab577.tar.gz freeipa-e8cb869046f7ad9e9621188415a9e2b2de9ab577.tar.xz freeipa-e8cb869046f7ad9e9621188415a9e2b2de9ab577.zip |
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.
-rw-r--r-- | ipalib/rpc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/rpc.py b/ipalib/rpc.py index a5c5de557..077d99ebe 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: |