Skip to content

Commit 521def0

Browse files
mergify[bot]rdner
andauthored
Fixed wrong processor name in the logger (#45430) (#45449)
Fixing this makes debugging easier. (cherry picked from commit dd8e510) Co-authored-by: Denis <denis.rechkunov@elastic.co>
1 parent 4d1077a commit 521def0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libbeat/processors/actions/decode_json_fields.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func init() {
7878
// NewDecodeJSONFields construct a new decode_json_fields processor.
7979
func NewDecodeJSONFields(c *cfg.C, log *logp.Logger) (beat.Processor, error) {
8080
config := defaultConfig
81-
logger := log.Named("truncate_fields")
81+
logger := log.Named("decode_json_fields")
8282

8383
err := c.Unpack(&config)
8484
if err != nil {

0 commit comments

Comments
 (0)