The calls are after an 'except:', but they happen to be outside of the except: block, which I suppose can be confusing. Note that in the case where an exception is not raised, a 'return' is done (line 447) before the logging points. So, you can only possibly reach the block after the try:/except: if an exception was raised.
You can change all occurrences of LOG.exception() to LOG.debug() or LOG.info() in reconnect() (there's 2.. one is around line 466, the other around line 482).
The calls are after an 'except:', but they happen to be outside of the except: block, which I suppose can be confusing. Note that in the case where an exception is not raised, a 'return' is done (line 447) before the logging points. So, you can only possibly reach the block after the try:/except: if an exception was raised.
You can change all occurrences of LOG.exception() to LOG.debug() or LOG.info() in reconnect() (there's 2.. one is around line 466, the other around line 482).