From 7890312d0a850ffc5be20d078d7e8f2d148dca3e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 31 Aug 2009 21:21:09 +0200 Subject: =?UTF-8?q?LogManager=20=C3=BCberarbeitet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Client/InformationManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Client/InformationManager.cpp') diff --git a/src/Client/InformationManager.cpp b/src/Client/InformationManager.cpp index 6ac2647..bcdb4a9 100644 --- a/src/Client/InformationManager.cpp +++ b/src/Client/InformationManager.cpp @@ -40,7 +40,7 @@ void InformationManager::DaemonStateUpdateRequestHandler::handleRequest(boost::s if(host != informationManager->daemons.end()) host->second.setState(static_cast(packet->get("state"))); else - getApplication()->log(Core::LoggerBase::LOG_WARNING, "Received a state update for an unknown host."); + getApplication()->log(Core::Logger::LOG_WARNING, "Received a state update for an unknown host."); } ret->setType("OK"); @@ -73,7 +73,7 @@ void InformationManager::daemonListRequestFinished(boost::shared_ptr lock(mutex); if(!packet || error) { - application->logf(Core::LoggerBase::LOG_CRITICAL, "Host list request failed: %s", error.what()); + application->logf(Core::Logger::LOG_CRITICAL, "Host list request failed: %s", error.what()); } else { const Common::XmlPacket::List *list = packet->getList("hosts"); -- cgit v1.2.3