if ( !WantToPing )
{
GlobalLogger.info() << LogPrefix << "waiting for ping request "
- << "(should take less than " << PingIntervalInSec << "s)";
+ << "(should take no more than than " << PingIntervalInSec << "s)";
return;
}
else if ( Resolver && Resolver->is_resolving() )
*/
void PingScheduler::ping_done_handler( const bool ping_success )
{
+ GlobalLogger.info() << LogPrefix << "Ping done with success = "
+ << ping_success;
+
// post-processing
// You must call these 3 methods exactly in this order
// TODO Fix this method, once it has a semantic dependency with the
if (ip_count > 0)
{
GlobalLogger.info() << LogPrefix << "Set resolved_ip_count to "
- << ip_count << " where IPs may be outdated: " << !check_up_to_date;
+ << ip_count << " (IPs may be outdated=" << !check_up_to_date << ")";
HostAnalyzer.set_resolved_ip_count( ip_count );
if (Resolver->is_resolving())
else
{
GlobalLogger.info() << LogPrefix << "Set resolved_ip_count to "
- << ip_count << " where IPs may be outdated: "
- << ContinueOnOutdatedIps << " --> could ping now";
+ << ip_count << " (IPs may be outdated="
+ << ContinueOnOutdatedIps << ") --> could ping now";
HostAnalyzer.set_resolved_ip_count( ip_count );
}
ping_when_ready();
int ip_count = Resolver->get_resolved_ip_count(false);
GlobalLogger.info() << LogPrefix << "Set resolved_ip_count to "
- << ip_count << " where IPs may be outdated: " << true;
+ << ip_count << " (IPs may be outdated=" << true << ")";
HostAnalyzer.set_resolved_ip_count( ip_count );
ping_when_ready();