Skip to content

Commit cd41c2e

Browse files
committed
[#1723] remove unlogged message definitions
1 parent 909676b commit cd41c2e

File tree

12 files changed

+0
-439
lines changed

12 files changed

+0
-439
lines changed

src/bin/dhcp4/dhcp4_messages.mes

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66

77
$NAMESPACE isc::dhcp
88

9-
% DHCP4_ACTIVATE_INTERFACE activating interface %1
10-
This message is printed when DHCPv4 server enabled an interface to be used
11-
to receive DHCPv4 traffic. IPv4 socket on this interface will be opened once
12-
Interface Manager starts up procedure of opening sockets.
13-
149
% DHCP4_ALREADY_RUNNING %1 already running? %2
1510
This is an error message that occurs when the DHCPv4 server encounters
1611
a pre-existing PID file which contains the PID of a running process.
@@ -171,25 +166,12 @@ new configuration. It is output during server startup, and when an updated
171166
configuration is committed by the administrator. Additional information
172167
may be provided.
173168

174-
% DHCP4_CONFIG_FETCH Fetching configuration data from config backends.
175-
This is an informational message emitted when the DHCPv4 server about to begin
176-
retrieving configuration data from one or more configuration backends.
177-
178169
% DHCP4_CONFIG_LOAD_FAIL configuration error using file: %1, reason: %2
179170
This error message indicates that the DHCPv4 configuration has failed.
180171
If this is an initial configuration (during server's startup) the server
181172
will fail to start. If this is a dynamic reconfiguration attempt the
182173
server will continue to use an old configuration.
183174

184-
% DHCP4_CONFIG_NEW_SUBNET a new subnet has been added to configuration: %1
185-
This is an informational message reporting that the configuration has
186-
been extended to include the specified IPv4 subnet.
187-
188-
% DHCP4_CONFIG_OPTION_DUPLICATE multiple options with the code %1 added to the subnet %2
189-
This warning message is issued on an attempt to configure multiple options
190-
with the same option code for a particular subnet. Adding multiple options
191-
is uncommon for DHCPv4, but is not prohibited.
192-
193175
% DHCP4_CONFIG_PACKET_QUEUE DHCPv4 packet queue info after configuration: %1
194176
This informational message is emitted during DHCPv4 server configuration,
195177
immediately after configuring the DHCPv4 packet queue. The information
@@ -224,10 +206,6 @@ issued). Finally, the server could be restarted completely.
224206
This error message is issued when the configuration includes an unsupported
225207
object (i.e. a top level element).
226208

227-
% DHCP4_CONFIG_UPDATE updated configuration received: %1
228-
A debug message indicating that the DHCPv4 server has received an
229-
updated configuration from the Kea configuration system.
230-
231209
% DHCP4_DB_RECONNECT_DISABLED database reconnect is disabled: max-reconnect-tries %1, reconnect-wait-time %2
232210
This is an informational message indicating that connectivity to either the
233211
lease or host database or both and that automatic reconnect is not enabled.
@@ -259,11 +237,6 @@ This error message indicates that DHCP4 server attempted to send a DDNS
259237
update request to the DHCP-DDNS server. This is most likely a configuration or
260238
networking error.
261239

262-
% DHCP4_DEACTIVATE_INTERFACE deactivate interface %1
263-
This message is printed when DHCPv4 server disables an interface from being
264-
used to receive DHCPv4 traffic. Sockets on this interface will not be opened
265-
by the Interface Manager until interface is enabled.
266-
267240
% DHCP4_DECLINE_FAIL %1: error on decline lease for address %2: %3
268241
This error message indicates that the software failed to decline a
269242
lease from the lease database due to an error during a database
@@ -435,10 +408,6 @@ This debug message is issued when the server did not receive a Hostname option
435408
from the client and hostname generation is enabled. This provides a means to
436409
create DNS entries for unsophisticated clients.
437410

438-
% DHCP4_HANDLE_SIGNAL_EXCEPTION An exception was thrown while handing signal: %1
439-
This error message is printed when an ISC or standard exception was raised during signal
440-
processing. This likely indicates a coding error and should be reported to ISC.
441-
442411
% DHCP4_HOOK_BUFFER_RCVD_DROP received buffer from %1 to %2 over interface %3 was dropped because a callout set the drop flag
443412
Logged at debug log level 15.
444413
This debug message is printed when a callout installed on buffer4_receive
@@ -654,16 +623,6 @@ respond. The first argument includes the client and the transaction id
654623
identification information. The second argument includes the IPv4 address
655624
requested by the client.
656625

657-
% DHCP4_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic
658-
This warning message is issued when current server configuration specifies
659-
no interfaces that server should listen on, or specified interfaces are not
660-
configured to receive the traffic.
661-
662-
% DHCP4_OPEN_CONFIG_DB Opening configuration database: %1
663-
This message is printed when the DHCPv4 server is attempting to open a
664-
configuration database. The database access string with password redacted
665-
is logged.
666-
667626
% DHCP4_OPEN_SOCKET opening service sockets on port %1
668627
Logged at debug log level 0.
669628
A debug message issued during startup, this indicates that the DHCPv4
@@ -679,10 +638,6 @@ This is an error message indicating a programmatic error that should not occur.
679638
It prohibits the server from attempting to bind to its service sockets if they
680639
are unavailable, and the server exits. This error should be reported.
681640

682-
% DHCP4_OPEN_SOCKET_FAIL failed to open socket: %1
683-
A warning message issued when IfaceMgr fails to open and bind a socket. The reason
684-
for the failure is appended as an argument of the log message.
685-
686641
% DHCP4_PACKET_DROP_0001 %1: failed to parse packet from %2 to %3, received over interface %4, reason: %5, %6
687642
Logged at debug log level 15.
688643
The DHCPv4 server has received a packet that it is unable to
@@ -824,11 +779,6 @@ A debug message issued when an option failed to unpack correctly, making it
824779
impossible to unpack the remaining options in the packet. The server will
825780
server will still attempt to service the packet.
826781

827-
% DHCP4_PACKET_OPTION_UNPACK_FAIL An error unpacking the option %1: %2
828-
A debug message issued when an option failed to unpack correctly, making it
829-
to be left unpacked in the packet. The first argument is the option code,
830-
the second the error.
831-
832782
% DHCP4_PACKET_PACK %1: preparing on-wire format of the packet to be sent
833783
Logged at debug log level 50.
834784
This debug message is issued when the server starts preparing the on-wire
@@ -1093,14 +1043,6 @@ the lease store. The first argument includes the client and the transaction
10931043
identification information. The second argument holds the IPv4 address for which
10941044
the decline was attempted.
10951045

1096-
% DHCP4_SERVER_INITIATED_DECLINE_FAILED %1: error on server-initiated decline lease for address %2: %3
1097-
This error message indicates that the software failed to decline a
1098-
lease from the lease database due to an error during a database
1099-
operation. The first argument includes the client and the transaction
1100-
identification information. The second argument holds the IPv4 address
1101-
for which the decline was attempted. The last one contains the reason of
1102-
failure.
1103-
11041046
% DHCP4_SERVER_INITIATED_DECLINE_RESOURCE_BUSY %1: error declining a lease for address %2
11051047
This error message indicates that while one server thread was attempting to mark
11061048
a lease as DECLINED, it was already locked by another thread. The first argument

src/bin/dhcp6/dhcp6_messages.mes

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ kea-dhcp4 is using hook libraries (e.g. radius) that implement the
1515
"subnet6_select" callout and client queries are arriving faster than
1616
those callouts can fulfill them.
1717

18-
% DHCP6_ACTIVATE_INTERFACE activating interface %1
19-
This message is printed when DHCPv6 server enabled an interface to be used
20-
to receive DHCPv6 traffic. IPv6 socket on this interface will be opened once
21-
Interface Manager starts up procedure of opening sockets.
22-
2318
% DHCP6_ADD_GLOBAL_STATUS_CODE %1: adding Status Code to DHCPv6 packet: %2
2419
Logged at debug log level 50.
2520
This message is logged when the server is adding the top-level
@@ -173,15 +168,6 @@ issued). Finally, the server could be restarted completely.
173168
This error message is issued when the configuration includes an unsupported
174169
object (i.e. a top level element).
175170

176-
% DHCP6_CONFIG_UPDATE updated configuration received: %1
177-
A debug message indicating that the IPv6 DHCP server has received an
178-
updated configuration from the Kea configuration system.
179-
180-
% DHCP6_DB_BACKEND_STARTED lease database started (type: %1, name: %2)
181-
This informational message is printed every time the IPv6 DHCP server
182-
is started. It indicates what database backend type is being to store
183-
lease and other information.
184-
185171
% DHCP6_DB_RECONNECT_DISABLED database reconnect is disabled: max-reconnect-tries %1, reconnect-wait-time %2
186172
This is an informational message indicating that connectivity to either the
187173
lease or host database or both and that automatic reconnect is not enabled.
@@ -268,15 +254,6 @@ includes the details of the FQDN option being included. Note that the
268254
name carried in the FQDN option may be modified by the server when
269255
the lease is acquired for the client.
270256

271-
% DHCP6_DDNS_SEND_FQDN sending DHCPv6 Client FQDN Option to the client: %1
272-
This debug message is logged when server includes an DHCPv6 Client FQDN Option
273-
in its response to the client.
274-
275-
% DHCP6_DEACTIVATE_INTERFACE deactivate interface %1
276-
This message is printed when DHCPv6 server disables an interface from being
277-
used to receive DHCPv6 traffic. Sockets on this interface will not be opened
278-
by the Interface Manager until interface is enabled.
279-
280257
% DHCP6_DECLINE_FAIL %1: error on decline lease for address %2: %3
281258
This error message indicates that the software failed to decline a
282259
lease from the lease database due to an error during a database
@@ -381,10 +358,6 @@ and the expression specified in its configuration generated (was evaluated to)
381358
an identifier for incoming packet. This debug message is mainly intended as a
382359
debugging assistance for flexible identifier.
383360

384-
% DHCP6_HANDLE_SIGNAL_EXCEPTION An exception was thrown while handing signal: %1
385-
This error message is printed when an exception was raised during signal
386-
processing. This likely indicates a coding error and should be reported to ISC.
387-
388361
% DHCP6_HOOK_BUFFER_RCVD_DROP received buffer from %1 to %2 over interface %3 was dropped because a callout set the drop flag
389362
Logged at debug log level 15.
390363
This debug message is printed when a callout installed on buffer6_receive
@@ -618,11 +591,6 @@ IPv6 DHCP server but it is not running.
618591
During startup the IPv6 DHCP server failed to detect any network
619592
interfaces and is therefore shutting down.
620593

621-
% DHCP6_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic
622-
This warning message is issued when current server configuration specifies
623-
no interfaces that server should listen on, or specified interfaces are not
624-
configured to receive the traffic.
625-
626594
% DHCP6_OPEN_SOCKET opening service sockets on port %1
627595
Logged at debug log level 0.
628596
A debug message issued during startup, this indicates that the IPv6 DHCP
@@ -638,10 +606,6 @@ This is an error message indicating a programmatic error that should not occur.
638606
It prohibits the server from attempting to bind to its service sockets if they
639607
are unavailable, and the server exits. This error should be reported.
640608

641-
% DHCP6_OPEN_SOCKET_FAIL failed to open socket: %1
642-
A warning message issued when IfaceMgr fails to open and bind a socket. The reason
643-
for the failure is appended as an argument of the log message.
644-
645609
% DHCP6_PACKET_DROP_DHCP_DISABLED %1: DHCP service is globally disabled
646610
Logged at debug log level 15.
647611
This debug message is issued when a packet is dropped because the DHCP service
@@ -1053,9 +1017,6 @@ This debug message indicates that a shutdown of the IPv6 server has
10531017
been requested via a call to the 'shutdown' method of the core Dhcpv6Srv
10541018
object.
10551019

1056-
% DHCP6_SOCKET_UNICAST server is about to open socket on address %1 on interface %2
1057-
This is a debug message that inform that a unicast socket will be opened.
1058-
10591020
% DHCP6_SRV_CONSTRUCT_ERROR error creating Dhcpv6Srv object, reason: %1
10601021
This error message indicates that during startup, the construction of a
10611022
core component within the IPv6 DHCP server (the Dhcpv6 server object)
@@ -1075,12 +1036,6 @@ a programmatic error in the server code. If it is not empty it could be
10751036
a programmatic error in one of the hooks libraries which could lead to
10761037
a crash during finalization.
10771038

1078-
% DHCP6_STANDALONE skipping message queue, running standalone
1079-
This is a debug message indicating that the IPv6 server is running in
1080-
standalone mode, not connected to the message queue. Standalone mode
1081-
is only useful during program development, and should not be used in a
1082-
production environment.
1083-
10841039
% DHCP6_STARTED Kea DHCPv6 server version %1 started
10851040
This informational message indicates that the IPv6 DHCP server has
10861041
processed all configuration information and is ready to process

src/bin/netconf/netconf_messages.mes

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ name of the server and the error are printed.
5454
This informational message indicates that kea-netconf is trying to get the
5555
configuration from a Kea server.
5656

57-
% NETCONF_LOG_CHANGE_FAIL NETCONF configuration change logging failed: %1
58-
The warning message indicates that the configuration change logging
59-
encountered an unexpected condition. Details of it will be logged.
60-
6157
% NETCONF_MODULE_CHANGE_INTERNAL_ERROR an internal error occurred while processing changes for module %1: %2
6258
The error message indicates that kea-netconf got an error while sysrepo was processing modules changes.
6359
This usually follows a config validation failure, and can be recovered from.

src/hooks/dhcp/lease_cmds/lease_cmds_messages.mes

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ addresses is logged.
3737
The lease6-bulk-apply command has failed. Both the reason as well
3838
as the parameters passed are logged.
3939

40-
% LEASE_CMDS_DEINIT_FAILED unloading Lease Commands hooks library failed: %1
41-
This error message indicates an error during unloading the Lease Commands
42-
hooks library. The details of the error are provided as argument of
43-
the log message.
44-
4540
% LEASE_CMDS_DEINIT_OK unloading Lease Commands hooks library successful
4641
This info message indicates that the Lease Commands hooks library has been
4742
removed successfully.
@@ -72,11 +67,6 @@ parameters passed are logged.
7267
The lease4-get command has failed. Both the reason as well as the
7368
parameters passed are logged.
7469

75-
% LEASE_CMDS_INIT_FAILED loading Lease Commands hooks library failed: %1
76-
This error message indicates an error during loading the Lease Commands
77-
hooks library. The details of the error are provided as argument of
78-
the log message.
79-
8070
% LEASE_CMDS_INIT_OK loading Lease Commands hooks library successful
8171
This info message indicates that the Lease Commands hooks library has been
8272
loaded successfully. Enjoy!

src/hooks/dhcp/perfmon/perfmon_messages.mes

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ This info log is issued when perfmon-get-all-durations command has
3535
completed successfully. The argument contains the number of
3636
durations returned.
3737

38-
% PERFMON_DEINIT_FAILED unloading PerfMon hooks library failed: %1
39-
This error message indicates an error unloading the PerfMon hooks
40-
library. The details of the error are provided as argument of
41-
the log message.
42-
4338
% PERFMON_DEINIT_OK unloading PerfMon hooks library successful
4439
This info message indicates that the PerfMon hooks library has been
4540
removed successfully.

src/hooks/dhcp/stat_cmds/stat_cmds_messages.mes

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
# Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
22

3-
% STAT_CMDS_DEINIT_FAILED unloading Stat Commands hooks library failed: %1
4-
This error message indicates an error during unloading the Lease Commands
5-
hooks library. The details of the error are provided as argument of
6-
the log message.
7-
83
% STAT_CMDS_DEINIT_OK unloading Stat Commands hooks library successful
94
This info message indicates that the Stat Commands hooks library has been
105
removed successfully.
116

12-
% STAT_CMDS_INIT_FAILED loading Stat Commands hooks library failed: %1
13-
This error message indicates an error during loading the Lease Commands
14-
hooks library. The details of the error are provided as argument of
15-
the log message.
16-
177
% STAT_CMDS_INIT_OK loading Stat Commands hooks library successful
188
This info message indicates that the Stat Commands hooks library has been
199
loaded successfully. Enjoy!

0 commit comments

Comments
 (0)