diff options
author | Razvan Becheriu <razvan@isc.org> | 2024-10-03 14:21:19 +0200 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2024-10-03 20:04:37 +0200 |
commit | 30dea22baf8a04fc163fc5a46e93289f8f01681f (patch) | |
tree | e5a205b9a6f62e75aed46cade919f38a88ed8515 /tools | |
parent | [#3536] removed more duplicated messages (diff) | |
download | kea-30dea22baf8a04fc163fc5a46e93289f8f01681f.tar.xz kea-30dea22baf8a04fc163fc5a46e93289f8f01681f.zip |
[#3536] use only one loger on load and unload
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/check-messages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-messages.py b/tools/check-messages.py index c98ed36fff..bdd8b84d1a 100755 --- a/tools/check-messages.py +++ b/tools/check-messages.py @@ -99,7 +99,7 @@ def check_that_debug_log_levels_are_documented(messages, debug_levels, log_lines for message_id, message in messages.items(): log_level = None for line in log_lines: - if line.startswith('LOG_DEBUG') and re.search(fr'LOG_DEBUG\(.*\b{message_id}\b', line): + if re.match(fr'LOG_DEBUG\(.*\b{message_id}\b', line): log_level = line.split(',')[1].strip().replace('isc::log::', '').replace('log::', '') break if log_level is None: |