Skip to content

Commit

Permalink
refactor: replace error audit message by a warning one
Browse files Browse the repository at this point in the history
  • Loading branch information
jmv74211 committed Nov 30, 2022
1 parent 4e1d988 commit 6c71bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/wazuh_testing/wazuh_testing/logcollector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 6c71bf7

Please sign in to comment.