#include <logfunc.hpp>
+#include "dns/dnsmaster.h"
+
#include "boost_assert_handler.h"
using namespace std;
if (has_changed)
GlobalLogger.notice() << "Status (" << HostsDownList.size()
<< "/" << HostsDownLimit << " down): now up again is "
- << host_address << endl;
+ << DnsMaster::get_cname_chain_str(host_address) << endl;
else // less important so log only at info level
GlobalLogger.info() << "Status (" << HostsDownList.size()
<< "/" << HostsDownLimit << " down): still up is "
- << host_address << endl;
+ << DnsMaster::get_cname_chain_str(host_address) << endl;
if ( !exceeded_host_down_limit() )
{
// report this always at notice level
GlobalLogger.notice() << "Status (" << HostsDownList.size()
<< "/" << HostsDownLimit << " down): down is "
- << host_address << endl;
+ << DnsMaster::get_cname_chain_str(host_address) << endl;
if ( exceeded_host_down_limit() )
{