Skip to content

Commit

Permalink
fix the error
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Jul 10, 2024
1 parent 9a41abd commit 14f2f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/input/winlog/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ runLoop:

switch {
case eventlog.IsRecoverable(openErr):
log.Errorw(channelNotFoundError, "error", openErr)
log.Errorw("Encountered recoverable error when opening Windows Event Log", "error", openErr)
_ = timed.Wait(cancelCtx, 5*time.Second)
continue
case !api.IsFile() && eventlog.IsChannelNotFound(openErr):
Expand Down

0 comments on commit 14f2f79

Please sign in to comment.