Skip to content

Commit

Permalink
removing info log (#30971)
Browse files Browse the repository at this point in the history
Log start of filestream scan at debug level

Co-authored-by: carlos97gr <[email protected]>
Co-authored-by: Craig MacKenzie <[email protected]>
(cherry picked from commit 5478d73)
  • Loading branch information
solrac97gr authored and mergify[bot] committed Jul 7, 2022
1 parent db11ce9 commit 15aaf92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions filebeat/input/filestream/fswatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ import (
"path/filepath"
"time"

"github.com/elastic/go-concert/timed"
"github.com/elastic/go-concert/unison"

"github.com/elastic/beats/v7/filebeat/input/file"
loginp "github.com/elastic/beats/v7/filebeat/input/filestream/internal/input-logfile"
"github.com/elastic/beats/v7/libbeat/common"
file_helper "github.com/elastic/beats/v7/libbeat/common/file"
"github.com/elastic/beats/v7/libbeat/common/match"
"github.com/elastic/beats/v7/libbeat/logp"
"github.com/elastic/go-concert/timed"
"github.com/elastic/go-concert/unison"
)

const (
Expand Down Expand Up @@ -137,7 +138,7 @@ func (w *fileWatcher) Run(ctx unison.Canceler) {
}

func (w *fileWatcher) watch(ctx unison.Canceler) {
w.log.Info("Start next scan")
w.log.Debug("Start next scan")

paths := w.scanner.GetFiles()

Expand Down

0 comments on commit 15aaf92

Please sign in to comment.