From fe6453a64f5677c52c36a3466a4a9a2946236de3 Mon Sep 17 00:00:00 2001 From: Panos Koutsovasilis Date: Fri, 9 Feb 2024 18:08:44 +0200 Subject: [PATCH] fix: set the appropriate verbosity of errors of watcher --- auditbeat/module/file_integrity/eventreader_kprobes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auditbeat/module/file_integrity/eventreader_kprobes.go b/auditbeat/module/file_integrity/eventreader_kprobes.go index 41c8fe0dd31..7cddd7f60cd 100644 --- a/auditbeat/module/file_integrity/eventreader_kprobes.go +++ b/auditbeat/module/file_integrity/eventreader_kprobes.go @@ -158,7 +158,7 @@ func (r kProbesReader) nextEvent(done <-chan struct{}) *Event { case err := <-r.watcher.ErrorChannel(): if err != nil { - r.log.Warnw("kprobes watcher error", "error", err) + r.log.Errorw("kprobes watcher error", "error", err) } } }