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 <carlosgperu97@gmail.com>
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
  • Loading branch information
3 people authored Apr 13, 2022
1 parent d101ba1 commit 5478d73
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 @@ -135,7 +136,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 5478d73

Please sign in to comment.