Add logging for connection maintenance methods.