From a63fa119ade587efdb06a8ea53c68b1dabfdbc7b Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Fri, 5 Jun 2015 18:29:45 +0200 Subject: [PATCH] changed forgotten link status messages to format used for other messages when reporting link up/down --- src/link/linkstatus.cpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) 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" -- 1.7.1