mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-22 17:28:02 +02:00
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…
x
Reference in New Issue
Block a user