From 6c71bf79d875ead498d6385134363ce7010baa2b Mon Sep 17 00:00:00 2001 From: jmv74211 Date: Wed, 30 Nov 2022 11:29:56 +0100 Subject: [PATCH] refactor: replace error audit message by a warning one --- deps/wazuh_testing/wazuh_testing/logcollector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/wazuh_testing/wazuh_testing/logcollector.py b/deps/wazuh_testing/wazuh_testing/logcollector.py index 25dbe50976..c4fa4f7f4b 100644 --- a/deps/wazuh_testing/wazuh_testing/logcollector.py +++ b/deps/wazuh_testing/wazuh_testing/logcollector.py @@ -531,7 +531,7 @@ def callback_invalid_format_value(line, option, location): if option == 'json': msg = fr"DEBUG: Line '{line}' read from '{location}' is not a JSON object." elif option == 'audit': - msg = fr"ERROR: Discarding audit message because of invalid syntax." + msg = "WARNING: Discarding audit message because of invalid syntax." elif option == 'nmapg': msg = fr"ERROR: Bad formated nmap grepable file." elif option == 'djb-multilog':