diff options
author | Piotrek Zadroga <piotrek@isc.org> | 2024-04-24 11:58:08 +0200 |
---|---|---|
committer | Piotrek Zadroga <piotrek@isc.org> | 2024-04-26 14:42:46 +0200 |
commit | 6e53676c1ec1a20b7d22117a7dcf074401b6614b (patch) | |
tree | ec94748e4b3c728426cd974f2c17d9d2a77369a3 | |
parent | [#2820] add tid in some bad-packets logs (diff) | |
download | kea-6e53676c1ec1a20b7d22117a7dcf074401b6614b.tar.xz kea-6e53676c1ec1a20b7d22117a7dcf074401b6614b.zip |
[#2820] add tid in some ddns logs
-rw-r--r-- | src/bin/dhcp6/dhcp6_messages.cc | 2 | ||||
-rw-r--r-- | src/bin/dhcp6/dhcp6_messages.mes | 2 | ||||
-rw-r--r-- | src/bin/dhcp6/dhcp6_srv.cc | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/bin/dhcp6/dhcp6_messages.cc b/src/bin/dhcp6/dhcp6_messages.cc index c7101553db..878314c884 100644 --- a/src/bin/dhcp6/dhcp6_messages.cc +++ b/src/bin/dhcp6/dhcp6_messages.cc @@ -216,7 +216,7 @@ const char* values[] = { "DHCP6_DB_RECONNECT_LOST_CONNECTION", "database connection lost.", "DHCP6_DB_RECONNECT_NO_DB_CTL", "unexpected error in database reconnect", "DHCP6_DB_RECONNECT_SUCCEEDED", "database connection recovered.", - "DHCP6_DDNS_CREATE_ADD_NAME_CHANGE_REQUEST", "created name change request: %1", + "DHCP6_DDNS_CREATE_ADD_NAME_CHANGE_REQUEST", "%1: created name change request: %2", "DHCP6_DDNS_FQDN_GENERATED", "%1: generated FQDN for the client: %2", "DHCP6_DDNS_GENERATED_FQDN_UPDATE_FAIL", "%1: failed to update the lease using address %2, after generating FQDN for a client, reason: %3", "DHCP6_DDNS_GENERATE_FQDN", "%1: client did not send a FQDN option; FQDN will be", diff --git a/src/bin/dhcp6/dhcp6_messages.mes b/src/bin/dhcp6/dhcp6_messages.mes index 015f60247d..ecd715a0a8 100644 --- a/src/bin/dhcp6/dhcp6_messages.mes +++ b/src/bin/dhcp6/dhcp6_messages.mes @@ -198,7 +198,7 @@ should be reported. This info message indicates that the connection has been recovered and the dhcp service has been restored. -% DHCP6_DDNS_CREATE_ADD_NAME_CHANGE_REQUEST created name change request: %1 +% DHCP6_DDNS_CREATE_ADD_NAME_CHANGE_REQUEST %1: created name change request: %2 This debug message is logged when the new NameChangeRequest has been created to perform the DNS Update, which adds new RRs. diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc index ba8e4cbf3b..f091d512a3 100644 --- a/src/bin/dhcp6/dhcp6_srv.cc +++ b/src/bin/dhcp6/dhcp6_srv.cc @@ -2416,8 +2416,9 @@ Dhcpv6Srv::createNameChangeRequests(const Pkt6Ptr& answer, calculateDdnsTtl(iaaddr->getValid(), ctx.getDdnsParams()->getTtlPercent()), cr_mode)); - LOG_DEBUG(ddns6_logger, DBG_DHCP6_DETAIL, - DHCP6_DDNS_CREATE_ADD_NAME_CHANGE_REQUEST).arg(ncr->toText()); + LOG_DEBUG(ddns6_logger, DBG_DHCP6_DETAIL, DHCP6_DDNS_CREATE_ADD_NAME_CHANGE_REQUEST) + .arg(answer->getLabel()) + .arg(ncr->toText()); // Post the NCR to the D2ClientMgr. CfgMgr::instance().getD2ClientMgr().sendRequest(ncr); |