-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Implement deprecation logging using log4j #61474
Implement deprecation logging using log4j #61474
Conversation
Part of elastic#46106. Simplify the implementation of deprecation logging by relying of log4j more completely, and implementing additional behaviour through custom appenders and filters.
Pinging @elastic/es-core-infra (:Core/Infra/Core) |
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.
I see this is with with HeaderWarning being the appender only (no logger)
I agree with your comment if we really need that we can refactor later.
LGTM!
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
Backport of elastic#61474. Part of elastic#46106. Simplify the implementation of deprecation logging by relying of log4j more completely, and implementing additional behaviour through custom appenders and filters.
PR #61474 reworked deprecation logging to rely more heavily on log4j. Unfortunately, the changes required to log4j's configuration were not applied to the version we ship with the Docker image.
PR #61474 reworked deprecation logging to rely more heavily on log4j. Unfortunately, the changes required to log4j's configuration were not applied to the version we ship with the Docker image.
Note that these changes related to indexing the logs were removed from |
The elastic#61474 changed the way we throttle deprecation logs, but missed a filter to plaintext deprecation logs closes elastic#69188
The elastic#61474 changed the way we throttle deprecation logs, but missed a filter to plaintext deprecation logs closes elastic#69188
The elastic#61474 changed the way we throttle deprecation logs, but missed a filter to plaintext deprecation logs closes elastic#69188
Part of #46106. Simplify the implementation of deprecation logging by
relying of log4j more completely, and implementing additional behaviour
through custom appenders and filters.