From cdf6e81be0e5495a745a4954feffeb8f0b0549fa Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Thu, 6 Nov 2014 14:21:55 +0100 Subject: [PATCH] use new function name of new log level string function from libi2ncommon; had overlooked one debugging output --- src/host/pingscheduler.cpp | 2 -- src/main.cpp | 2 +- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/host/pingscheduler.cpp b/src/host/pingscheduler.cpp index c1f79a0..3da3c0b 100644 --- a/src/host/pingscheduler.cpp +++ b/src/host/pingscheduler.cpp @@ -182,8 +182,6 @@ void PingScheduler::resolve_and_ping() if ( ips_up_to_date ) { EverHadAnyIP = true; - GlobalLogger.warning() << "DEBUG: resolved ping address, have " - << Ping->get_resolved_ip_count() << " IPs" << endl; HostAnalyzer.set_resolved_ip_count( Ping->get_resolved_ip_count() ); AddressResolutionAttempts = 0; } diff --git a/src/main.cpp b/src/main.cpp index 44e96c0..e6c50f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -341,7 +341,7 @@ int main( int argc, const char *argv[] ) { int log_level = configuration->get_log_level(); I2n::Logger::set_log_level( log_level ); //lint !e534 - GlobalLogger.info() << "Set LogLevel to " << I2n::Logger::level_string() << endl; + GlobalLogger.info() << "Set LogLevel to " << I2n::Logger::get_log_level_string() << endl; set_log_output( configuration ); -- 1.7.1