]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2308] Removed misleading DHCP4_NCR_CREATE log statement from kea-dhcp4
authorThomas Markwalder <tmark@isc.org>
Thu, 24 Feb 2022 20:25:10 +0000 (15:25 -0500)
committerThomas Markwalder <tmark@isc.org>
Wed, 2 Mar 2022 16:30:01 +0000 (11:30 -0500)
modified:
    src/bin/dhcp4/dhcp4_messages.cc
    src/bin/dhcp4/dhcp4_messages.h
    src/bin/dhcp4/dhcp4_messages.mes
    src/bin/dhcp4/dhcp4_srv.cc

src/bin/dhcp4/dhcp4_messages.cc
src/bin/dhcp4/dhcp4_messages.h
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc

index ca296cec1774ec21f655c7ec7a00f23244b99480..f7f818454465f141064563cc0132f1e3d4ca1081 100644 (file)
@@ -89,7 +89,6 @@ extern const isc::log::MessageID DHCP4_LEASE_ADVERT = "DHCP4_LEASE_ADVERT";
 extern const isc::log::MessageID DHCP4_LEASE_ALLOC = "DHCP4_LEASE_ALLOC";
 extern const isc::log::MessageID DHCP4_LEASE_REUSE = "DHCP4_LEASE_REUSE";
 extern const isc::log::MessageID DHCP4_MULTI_THREADING_INFO = "DHCP4_MULTI_THREADING_INFO";
-extern const isc::log::MessageID DHCP4_NCR_CREATE = "DHCP4_NCR_CREATE";
 extern const isc::log::MessageID DHCP4_NCR_CREATION_FAILED = "DHCP4_NCR_CREATION_FAILED";
 extern const isc::log::MessageID DHCP4_NOT_RUNNING = "DHCP4_NOT_RUNNING";
 extern const isc::log::MessageID DHCP4_NO_LEASE_INIT_REBOOT = "DHCP4_NO_LEASE_INIT_REBOOT";
@@ -248,7 +247,6 @@ const char* values[] = {
     "DHCP4_LEASE_ALLOC", "%1: lease %2 has been allocated for %3 seconds",
     "DHCP4_LEASE_REUSE", "%1: lease %2 has been reused for %3 seconds",
     "DHCP4_MULTI_THREADING_INFO", "enabled: %1, number of threads: %2, queue size: %3",
-    "DHCP4_NCR_CREATE", "%1: DDNS updates enabled, therefore sending name change requests",
     "DHCP4_NCR_CREATION_FAILED", "%1: failed to generate name change requests for DNS: %2",
     "DHCP4_NOT_RUNNING", "DHCPv4 server is not running",
     "DHCP4_NO_LEASE_INIT_REBOOT", "%1: no lease for address %2 requested by INIT-REBOOT client",
index c4884684e2bb4e2c2039a0536346aa3261f736c7..d5897254884cae98e8aecfb3a51599ea1e8c48d1 100644 (file)
@@ -90,7 +90,6 @@ extern const isc::log::MessageID DHCP4_LEASE_ADVERT;
 extern const isc::log::MessageID DHCP4_LEASE_ALLOC;
 extern const isc::log::MessageID DHCP4_LEASE_REUSE;
 extern const isc::log::MessageID DHCP4_MULTI_THREADING_INFO;
-extern const isc::log::MessageID DHCP4_NCR_CREATE;
 extern const isc::log::MessageID DHCP4_NCR_CREATION_FAILED;
 extern const isc::log::MessageID DHCP4_NOT_RUNNING;
 extern const isc::log::MessageID DHCP4_NO_LEASE_INIT_REBOOT;
index cfd3129662948b33fe765e45bae4b2842f567e43..5235ea901afbb7698346cbf44f5e2bb754281961 100644 (file)
@@ -485,14 +485,6 @@ lifetime.
 This is a message listing some information about the multi-threading parameters
 with which the server is running.
 
-% DHCP4_NCR_CREATE %1: DDNS updates enabled, therefore sending name change requests
-This debug message is issued when the server is starting to send
-name change requests to the D2 module to update records for the client
-in the DNS. This includes removal of old records and addition of the
-new records as required. Details of the name change requests will be
-logged in additional log entries. The argument includes the client
-and the transaction identification information.
-
 % DHCP4_NCR_CREATION_FAILED %1: failed to generate name change requests for DNS: %2
 This message indicates that server was unable to generate NameChangeRequests
 which should be sent to the kea-dhcp_ddns module to create
index 4c2693adc18bc50e10de853f0458923971146cdc..483d12caf82e3c928eb6fd7b46a64768a33e3c1f 100644 (file)
@@ -2564,8 +2564,6 @@ Dhcpv4Srv::assignLease(Dhcpv4Exchange& ex) {
         // Create NameChangeRequests if this is a real allocation.
         if (!fake_allocation) {
             try {
-                LOG_DEBUG(ddns4_logger, DBG_DHCP4_DETAIL, DHCP4_NCR_CREATE)
-                    .arg(query->getLabel());
                 createNameChangeRequests(lease, ctx->old_lease_,
                                          *ex.getContext()->getDdnsParams());
             } catch (const Exception& ex) {