mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Improve logging for disconnected HTTP clients
Previously this was inside the debug log, with the new socket printers we can enhance checking for proper connects and disconnects. refs #6514
This commit is contained in:
parent
051b3ba9b7
commit
57081176de
@ -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