Skip to content

Commit

Permalink
[#3588] Improved no test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fxdupont committed Oct 11, 2024
1 parent bf4a69f commit 8b1f7f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bin/dhcp4/dhcp4_messages.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ const char* values[] = {
"DHCP4_REQUEST", "%1: server is processing DHCPREQUEST with hint=%2",
"DHCP4_REQUIRED_CLASS_EVAL_ERROR", "%1: Expression '%2' evaluated to %3",
"DHCP4_REQUIRED_CLASS_EVAL_RESULT", "%1: Expression '%2' evaluated to %3",
"DHCP4_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression",
"DHCP4_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression, adding it to client's classes unconditionally",
"DHCP4_REQUIRED_CLASS_UNDEFINED", "required class %1 has no definition",
"DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED", "Multi-threading is enabled and host reservations lookup is always performed first.",
"DHCP4_RESERVED_HOSTNAME_ASSIGNED", "%1: server assigned reserved hostname %2",
Expand Down
2 changes: 1 addition & 1 deletion src/bin/dhcp4/dhcp4_messages.mes
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ This debug message indicates that the expression of a required client class has
been successfully evaluated. The client class name and the result value of the
evaluation are printed.

% DHCP4_REQUIRED_CLASS_NO_TEST required class %1 has no test expression
% DHCP4_REQUIRED_CLASS_NO_TEST required class %1 has no test expression, adding it to client's classes unconditionally
Logged at debug log level 40.
This debug message informs that a class was listed for required evaluation but
its definition does not include a test expression to evaluate. The class is
Expand Down
2 changes: 1 addition & 1 deletion src/bin/dhcp6/dhcp6_messages.cc
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ const char* values[] = {
"DHCP6_RELEASE_PD_FAIL_WRONG_IAID", "%1: client tried to release prefix %2/%3, but it used wrong IAID (expected %4, but got %5)",
"DHCP6_REQUIRED_CLASS_EVAL_ERROR", "%1: Expression '%2' evaluated to %3",
"DHCP6_REQUIRED_CLASS_EVAL_RESULT", "%1: Expression '%2' evaluated to %3",
"DHCP6_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression",
"DHCP6_REQUIRED_CLASS_NO_TEST", "required class %1 has no test expression, adding it to client's classes unconditionally",
"DHCP6_REQUIRED_CLASS_UNDEFINED", "required class %1 has no definition",
"DHCP6_REQUIRED_OPTIONS_CHECK_FAIL", "%1: %2 message received from %3 failed the following check: %4",
"DHCP6_RESERVATIONS_LOOKUP_FIRST_ENABLED", "Multi-threading is enabled and host reservations lookup is always performed first.",
Expand Down
2 changes: 1 addition & 1 deletion src/bin/dhcp6/dhcp6_messages.mes
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ This debug message indicates that the expression of a required client class has
been successfully evaluated. The client class name and the result value of the
evaluation are printed.

% DHCP6_REQUIRED_CLASS_NO_TEST required class %1 has no test expression
% DHCP6_REQUIRED_CLASS_NO_TEST required class %1 has no test expression, adding it to client's classes unconditionally
Logged at debug log level 40.
This debug message informs that a class was listed for required evaluation but
its definition does not include a test expression to evaluate. The class is
Expand Down

0 comments on commit 8b1f7f3

Please sign in to comment.