Remove almost redundant update code
[bpdyndnsd] / src / logger.cpp
index cc507c0..e94822a 100644 (file)
@@ -1667,24 +1667,6 @@ void Logger::print_cached_dns_entry(const string& hostname, const string& ip_dns
 
 
 /**
- * Updating service for the first time.
- * @param hostname Hostname
- * @param ip_dns_recheck Cached DNS entry
- * @param ip_host Hosts IP
- */
-void Logger::print_update_service_firttime(const string& hostname, const string& ip_dns_recheck, const string& ip_host) const
-{
-    int level = 1;
-    if ( level <= Loglevel )
-    {
-        ostringstream msg;
-        msg << "Updating service for the first time. Hostname: " << hostname << " DNS-Record: " << ip_dns_recheck << " Hosts IP: " << ip_host << endl;
-        log_notice(msg.str());
-    }
-}
-
-
-/**
  * Updating service
  * @param hostname Hostname
  * @param ip_dns_recheck Cached DNS entry