Skip to content

Commit d1c2d7d

Browse files
weiguo-nvidiayifan-nexthop
authored andcommitted
Update regex to ignore known error log (sonic-net#21232)
PR sonic-net#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 Signed-off-by: YiFan Wang <[email protected]>
1 parent df2c8a8 commit d1c2d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)