Skip to content

Commit

Permalink
[pkg/stanza] Further reduce "no file found" log message severity (ope…
Browse files Browse the repository at this point in the history
…n-telemetry#27097)

Resolves
open-telemetry#27094

We still log this message if no files are found when the collector
starts. However, the recurring message has proven to be a undesirable in
many cases.
  • Loading branch information
djaglowski authored and jmsnll committed Nov 12, 2023
1 parent c23128b commit 63d4907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/fileconsumer/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (m *Manager) poll(ctx context.Context) {
// Get the list of paths on disk
matches, err := m.fileMatcher.MatchFiles()
if err != nil {
m.Infof("finding files: %v", err)
m.Debugf("finding files: %v", err)
}

for len(matches) > m.maxBatchFiles {
Expand Down

0 comments on commit 63d4907

Please sign in to comment.