fluent / fluent/fluentd

Add plugin name and/or config file name and/or config line number into error logs

Open
#3,563 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
13.6k
Forks
1.4k
Avg merge
1d 3h
Merged PRs (30d)
20

Description

### Is your feature request related to a problem? Please describe.

when config is big it's very hard to debug errors

### Describe the solution you'd like

for example, if this line will contain plugin name which is 'Parser' it would reduce time to debug pretty much
https://github.com/fluent/fluentd/blob/5844f7209fec154a4e6807eb1bee6989d3f3297f/lib/fluent/plugin/filter_parser.rb#L64

### Describe alternatives you've considered

additionally would be awesome to have config file name where fail/error is happening or config line number whichever is easier to implement

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.