Skip to content
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

upstream: add new option 'net.connect_timeout_log_error' (#4473) #4474

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

edsiper
Copy link
Member

@edsiper edsiper commented Dec 16, 2021

When a connection times out, an error message is dispatched informing
the user about the event. In some cases the user would prefer to silent
those messages by making them available only as 'debug' messages instead
of an 'error'.

This patch adds a new option to the upstream configuration:

net.connect_timeout_log_error (default: true)

This boolean option is enabled by default to keep the usual behavior but
the user can turn it off in the OUTPUT section of the plugin so when
a connection timeout is faced, it will be send a 'debug' message.

Signed-off-by: Eduardo Silva [email protected]


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

Documentation

  • Documentation required for this feature

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

When a connection times out, an error message is dispatched informing
the user about the event. In some cases the user would prefer to silent
those messages by making them available only as 'debug' messages instead
of an 'error'.

This patch adds a new option to the upstream configuration:

   net.connect_timeout_log_error  (default: true)

This boolean option is enabled by default to keep the usual behavior but
the user can turn it off in the OUTPUT section of the plugin so when
a connection timeout is faced, it will be send a 'debug' message.

Signed-off-by: Eduardo Silva <[email protected]>
@lecaros
Copy link
Contributor

lecaros commented Jan 7, 2022

added documentation in fluent/fluent-bit-docs#664

@lecaros lecaros added this to the Fluent Bit v1.8.12 milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants