diff options
author | Andrei Pavel <andrei@isc.org> | 2024-08-19 13:33:18 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2024-08-22 14:47:23 +0200 |
commit | 2aa6b29b1308d803818788451e10da46c83ec9ed (patch) | |
tree | eb76565683c94130e381ac92212a08f6e3436011 /src/bin/dhcp4/dhcp4_messages.mes | |
parent | [#1945] take premium exhonerated duplicate messages into account (diff) | |
download | kea-2aa6b29b1308d803818788451e10da46c83ec9ed.tar.xz kea-2aa6b29b1308d803818788451e10da46c83ec9ed.zip |
[#1945] log EVAL_RESULT messages only at debug level
- Split the 15 occurrences of EVAL_RESULT into one message for each log call in code.
- Log all these messages only on debug level 50.
- Remove bad practice `catch (...)` and the message logged on that if-branch.
Diffstat (limited to 'src/bin/dhcp4/dhcp4_messages.mes')
-rw-r--r-- | src/bin/dhcp4/dhcp4_messages.mes | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/dhcp4/dhcp4_messages.mes b/src/bin/dhcp4/dhcp4_messages.mes index 59509b590b..b92314a708 100644 --- a/src/bin/dhcp4/dhcp4_messages.mes +++ b/src/bin/dhcp4/dhcp4_messages.mes @@ -978,6 +978,17 @@ about the address that the client would like to have allocated. If there is no hint, the argument should provide the text indicating that the hint hasn't been sent. +% DHCP4_REQUIRED_CLASS_EVAL_ERROR %1: Expression '%2' evaluated to %3 +This error message indicates that there a problem was encountered while +evaluating an expression of a client class that was marked as required. +A description of the problem is printed. + +% DHCP4_REQUIRED_CLASS_EVAL_RESULT %1: Expression '%2' evaluated to %3 +Logged at debug log level 50. +This debug message indicates that the expression of a client class has been +successfully evaluated. The client class name and the result value of the +evaluation are printed. + % DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first. This is a message informing that host reservations lookup is performed before lease lookup when multi-threading is enabled overwriting configured value. |