Logging of connection error