Commit 3292b805 authored by Stephen Morris's avatar Stephen Morris
Browse files

[3479] Removed parameter from DHCP_DDNS_NCR_UDP_RECV_CANCELED message

This message is only output when a receive operation is cancelled,
so the parameter was always the text "operation aborted" - which
gives no new information.
parent 6ef4ae43
...@@ -57,7 +57,7 @@ UDP NCR sender ready status after completing a send. This is programmatic error ...@@ -57,7 +57,7 @@ UDP NCR sender ready status after completing a send. This is programmatic error
that should be reported. The application may or may not continue to operate that should be reported. The application may or may not continue to operate
correctly. correctly.
% DHCP_DDNS_NCR_UDP_RECV_CANCELED UDP socket receive was canceled while listening for DNS Update requests: %1 % DHCP_DDNS_NCR_UDP_RECV_CANCELED UDP socket receive was canceled while listening for DNS Update requests
This is a debug message indicating that the listening on a UDP socket This is a debug message indicating that the listening on a UDP socket
for DNS update requests has been canceled. This is a normal part of for DNS update requests has been canceled. This is a normal part of
suspending listening operations. suspending listening operations.
......
...@@ -183,8 +183,7 @@ NameChangeUDPListener::receiveCompletionHandler(const bool successful, ...@@ -183,8 +183,7 @@ NameChangeUDPListener::receiveCompletionHandler(const bool successful,
// A shutdown cancels all outstanding reads. For this reason, // A shutdown cancels all outstanding reads. For this reason,
// it can be an expected event, so log it as a debug message. // it can be an expected event, so log it as a debug message.
LOG_DEBUG(dhcp_ddns_logger, DBGLVL_TRACE_BASIC, LOG_DEBUG(dhcp_ddns_logger, DBGLVL_TRACE_BASIC,
DHCP_DDNS_NCR_UDP_RECV_CANCELED) DHCP_DDNS_NCR_UDP_RECV_CANCELED);
.arg(error_code.message());
result = STOPPED; result = STOPPED;
} else { } else {
LOG_ERROR(dhcp_ddns_logger, DHCP_DDNS_NCR_UDP_RECV_ERROR) LOG_ERROR(dhcp_ddns_logger, DHCP_DDNS_NCR_UDP_RECV_ERROR)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment