mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
Updated log messages.
This commit is contained in:
parent
4d873b50fb
commit
6b4647a5dc
@ -65,7 +65,7 @@ int DemoComponent::DemoTimerHandler(const TimerEventArgs& tea)
|
|||||||
|
|
||||||
int DemoComponent::HelloWorldRequestHandler(const NewRequestEventArgs& nrea)
|
int DemoComponent::HelloWorldRequestHandler(const NewRequestEventArgs& nrea)
|
||||||
{
|
{
|
||||||
Application::Log("Got 'hello world' from address:" + nrea.Sender->GetAddress() + ", identity:" + nrea.Sender->GetIdentity());
|
Application::Log("Got 'hello world' from address=" + nrea.Sender->GetAddress() + ", identity=" + nrea.Sender->GetIdentity());
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -137,8 +137,7 @@ int JsonRpcEndpoint::NewMessageHandler(const NewMessageEventArgs& nmea)
|
|||||||
|
|
||||||
int JsonRpcEndpoint::ClientClosedHandler(const EventArgs& ea)
|
int JsonRpcEndpoint::ClientClosedHandler(const EventArgs& ea)
|
||||||
{
|
{
|
||||||
string address = GetAddress();
|
Application::Log("Lost connection to endpoint: identity=" + GetIdentity());
|
||||||
Application::Log("Lost connection to endpoint: " + address);
|
|
||||||
|
|
||||||
m_PendingCalls.clear();
|
m_PendingCalls.clear();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user