Skip to content

Commit bff775c

Browse files
Update regex to ignore known error log (#21232) (#22009)
PR #10502 already ignore the error log, but the regex .* ERR ntpd.*: statistics directory .* does not exist or is unwriteable, error No such file or directory can not match this error log. So update the regex. ERR ntpd[25710]: statistics directory /var/log/ntpsec/ does not exist or is unwriteable, error Permission denied Co-authored-by: weguo-NV <[email protected]>
1 parent 22d3c5e commit bff775c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/roles/test/files/tools/loganalyzer/loganalyzer_common_ignore.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ r, ".* ERR syncd\d*#syncd.*SAI_API_UNSPECIFIED:sai_bulk_object_get_stats.*"
209209
r, ".* ERROR: Failed to parse lldp age.*"
210210

211211
# NTPsec always expects the statistics directory to be available, but for now, we don't need NTP stats to be logged
212-
r, ".* ERR ntpd.*: statistics directory .* does not exist or is unwriteable, error No such file or directory"
212+
r, ".* ERR ntpd.*: statistics directory .* does not exist or is unwriteable.*"
213213

214214
# NTPsec logs a message with ERR in it at NOTICE level when exiting gracefully, ignore it
215215
r, ".* NOTICE ntpd.*: ERR: ntpd exiting on signal 15.*"

0 commit comments

Comments
 (0)