Skip to content

Demote WARN to INFO if behaviour is expected for connect. #1211

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

Merged
merged 2 commits into from
Apr 11, 2025

Conversation

ash-darin
Copy link
Contributor

This will prevent logstash from throwing a warning if connecting is an expected behaviour.

In the register phase this does not warrant a WARN as it is expected behaviour. Logstash is connecting to Elasticsearch as is expected behaviour, so why WARN the user about it? Eliminate the WARN in this instance and cut down on logging.
differentiate warn anf info message
@ash-darin ash-darin changed the title Ash darin patch 1 Demote WARN to INFO if behaviour is expected for connect. Apr 11, 2025
@ash-darin ash-darin marked this pull request as ready for review April 11, 2025 13:15
Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsvd jsvd merged commit dac08b2 into logstash-plugins:main Apr 11, 2025
3 checks passed
@ash-darin ash-darin deleted the ash-darin-patch-1 branch April 14, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants