logging: convert rate limited messages to debug messages

This commit is contained in:
Miroslav Lichvar
2014-06-04 12:26:27 +02:00
parent 0dea8d97f4
commit a646cf7923
5 changed files with 13 additions and 47 deletions

View File

@@ -1567,8 +1567,8 @@ NCR_ProcessUnknown
local_addr);
}
}
} else if (!LOG_RateLimited()) {
LOG(LOGS_WARN, LOGF_NtpCore, "NTP packet received from unauthorised host %s port %d",
} else {
DEBUG_LOG(LOGF_NtpCore, "NTP packet received from unauthorised host %s port %d",
UTI_IPToString(&remote_addr->ip_addr),
remote_addr->port);
}