Skip to content

Commit

Permalink
filter: add worker ID to log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskont committed Feb 3, 2022
1 parent ec3ede0 commit 30173a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var filterCmd = &cobra.Command{
Decapsulate: viper.GetBool("filter.decap"),
Compress: viper.GetBool("filter.compress"),
StatFunc: func(fr filter.FilterResult) {
logrus.Debugf("%+v", fr)
logrus.WithField("worker", id).Debugf("%+v", fr)
},
Ctx: ctx,
})
Expand Down

0 comments on commit 30173a4

Please sign in to comment.