mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6655 from Icinga/feature/api-http-disconnect-log
Improve logging for disconnected HTTP clients
This commit is contained in:
commit
3a550e214c
|
@ -83,7 +83,8 @@ void HttpServerConnection::Disconnect()
|
|||
return;
|
||||
}
|
||||
|
||||
Log(LogDebug, "HttpServerConnection", "Http client disconnected");
|
||||
Log(LogInformation, "HttpServerConnection")
|
||||
<< "HTTP client disconnected (from " << m_Stream->GetSocket()->GetPeerAddress() << ")";
|
||||
|
||||
ApiListener::Ptr listener = ApiListener::GetInstance();
|
||||
listener->RemoveHttpClient(this);
|
||||
|
|
Loading…
Reference in New Issue