From: Gunnar Beutner Date: Fri, 27 Apr 2012 09:57:14 +0000 (+0200) Subject: Updated log messages. X-Git-Tag: v0.0.1~572 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b4647a5dc292aaeac0b600e880a81d785f20eda;p=icinga2 Updated log messages. --- diff --git a/components/demo/democomponent.cpp b/components/demo/democomponent.cpp index 2c9de30b0..2af4a1470 100644 --- a/components/demo/democomponent.cpp +++ b/components/demo/democomponent.cpp @@ -65,7 +65,7 @@ int DemoComponent::DemoTimerHandler(const TimerEventArgs& tea) 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; } diff --git a/icinga/jsonrpcendpoint.cpp b/icinga/jsonrpcendpoint.cpp index 1b56009d5..160305482 100644 --- a/icinga/jsonrpcendpoint.cpp +++ b/icinga/jsonrpcendpoint.cpp @@ -137,8 +137,7 @@ int JsonRpcEndpoint::NewMessageHandler(const NewMessageEventArgs& nmea) int JsonRpcEndpoint::ClientClosedHandler(const EventArgs& ea) { - string address = GetAddress(); - Application::Log("Lost connection to endpoint: " + address); + Application::Log("Lost connection to endpoint: identity=" + GetIdentity()); m_PendingCalls.clear();