Skip to content

Commit

Permalink
metricset: use base.Logger() instead of NewLogger()
Browse files Browse the repository at this point in the history
  • Loading branch information
mmat11 committed Feb 9, 2024
1 parent 292332d commit 91ade2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions auditbeat/module/file_integrity/metricset.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ func New(base mb.BaseMetricSet) (mb.MetricSet, error) {
if err := base.Module().UnpackConfig(&config); err != nil {
return nil, err
}

logger := logp.NewLogger(moduleName)
logger := base.Logger()

r, err := NewEventReader(config, logger)
if err != nil {
Expand Down

0 comments on commit 91ade2e

Please sign in to comment.