-
Couldn't load subscription status.
- Fork 1.4k
out_stdout: support output to $stdout independently of logger #5036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
out_stdout: support output to $stdout independently of logger #5036
Conversation
3e14f1d to
203627e
Compare
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com> Co-authored-by: Takuro Ashie <ashie@clear-code.com> Co-authored-by: Kentaro Hayashi <hayashi@clear-code.com> Co-authored-by: Shizuo Fujita <fujita@clear-code.com>
203627e to
a82db7a
Compare
fluent/fluentd#5036 Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com> Co-authored-by: Kentaro Hayashi <kenhys@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Thanks! |
fluent/fluentd#5036 Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
Which issue(s) this PR fixes:
What this PR does / why we need it:
Add
use_loggeroption toout_stdoutplugin.booltrueIf you set
falseto this option,out_stdoutoutputs events to$stdout, instead of$logger.This feature enables events to be output to STDOUT in containerized environments, such as K8s.
This does not change the default behavior.
Note: Although it's preferable for the default value of a
booloption to befalse(because it can be used as a flag), I couldn't think of a suitable name for it.Docs Changes:
fluent/fluentd-docs-gitbook#593
Release Note:
out_stdout: support output to STDOUT independently of Fluentd logger by setting
use_loggertofalse.