From: Christian Herdtweck Date: Fri, 5 Jun 2015 16:29:45 +0000 (+0200) Subject: changed forgotten link status messages to format used for other messages when reporti... X-Git-Url: http://developer.intra2net.com/git/?p=pingcheck;a=commitdiff_plain;h=a63fa119ade587efdb06a8ea53c68b1dabfdbc7b changed forgotten link status messages to format used for other messages when reporting link up/down --- diff --git a/src/link/linkstatus.cpp b/src/link/linkstatus.cpp index e20ba97..0a44101 100644 --- a/src/link/linkstatus.cpp +++ b/src/link/linkstatus.cpp @@ -176,8 +176,8 @@ void LinkStatus::notify_link_up() "up" ); //lint !e534 - GlobalLogger.notice() << "Status (" << HostsDownList.size() - << "/" << HostsDownLimit << " down): report link up" << endl; + GlobalLogger.notice() << "Status (" << HostsDownList.size() + << " down, limit=" << HostsDownLimit << "): report link up" << endl; bool executed = StatusNotifierCmd->execute(); if ( executed ) @@ -198,8 +198,9 @@ void LinkStatus::notify_link_down() BOOST_ASSERT( CurrentLinkStatus == Status_Down ); BOOST_ASSERT( CurrentNotificationStatus == NotificationStatus_NotReported ); - GlobalLogger.notice() << "Status (" << HostsDownList.size() - << "/" << HostsDownLimit << " down): report link down" << endl; + GlobalLogger.notice() << "Status (" << HostsDownList.size() + << " down, limit=" << HostsDownLimit << "): report link down" + << endl; StatusNotifierCmd->set_token_value( StatusNotifierCommand::StatusToken, "down"