Modified logger config to link deprecation logger to root logger by default#18326
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
|
jsvd
left a comment
There was a problem hiding this comment.
Can you look around logstash core code for any deprecation_logger calls that have a sibling plain logger call to workaround this? I recall in plugins this was done in a couple of places, meaning that we'd have 3 logger entries (deprecation log entry in 2 places + normal log entry).
Not sure if this happens in logstash core too.
@jsvd Haven't find any other duplicated log in logstash-core. I've seen 2 cases in logstash-integration-kafka and logstash-output-elasticsearch plugins. I'm going to create a PR on each repo and reference it to the same issue. |
|
@Mergifyio backport 9.0 9.1 9.2 |
✅ Backports have been createdDetails
|
Release notes
What does this PR do?
additivity parametertofalse.JAVA_HOMEdeprecated log to be logged by deprecation logger.Why is it important/What is the impact to the user?
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have added tests that prove my fix is effective or that my feature worksHow to test this PR locally
deprecation_logger.deprecated()function with a test message and see it appears at default output as a WARN log.Related issues