mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log(LogDebug, "HttpServerConnection", "Http client disconnected");
|
Log(LogInformation, "HttpServerConnection")
|
||||||
|
<< "HTTP client disconnected (from " << m_Stream->GetSocket()->GetPeerAddress() << ")";
|
||||||
|
|
||||||
ApiListener::Ptr listener = ApiListener::GetInstance();
|
ApiListener::Ptr listener = ApiListener::GetInstance();
|
||||||
listener->RemoveHttpClient(this);
|
listener->RemoveHttpClient(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user