Adding connection details in error log messages