We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66336e6 commit 3d27fb8Copy full SHA for 3d27fb8
pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_linux.go
@@ -83,6 +83,12 @@ func (k *kernelLogWatcher) Stop() {
83
84
// watchLoop is the main watch loop of kernel log watcher.
85
func (k *kernelLogWatcher) watchLoop() {
86
+ // send event to the watcher in case we are configured to
87
+ // event on loop starts
88
+ k.logCh <- &logtypes.Log{
89
+ Message: "[npd-internal] Entering watch loop",
90
+ Timestamp: time.Now(),
91
+ }
92
kmsgs := k.kmsgParser.Parse()
93
defer func() {
94
if err := k.kmsgParser.Close(); err != nil {
0 commit comments