-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Update the :deprecate
modifier of config
DSL to log on deprecation logger
#14988
Comments
cc @roaksoax |
Please verify that plugin deprecation warnings go to the deprecation logger, and not just the regular logger |
First glance it looks like #16833 should be a pretty straight forward solution for this. But I'm still working through exactly how that logger is used... Still a WIP. |
@robbavey is moving the log destination considered a breaking change? Does this only go in |
This should be backported to at least I don't think this would be a breaking change - WDYT @jsvd? |
It would be trivial to log to both locations in 8.x, then drop the main logger destination in 9 if the location swap is considered breaking. |
Logging to both in |
Backport PR #16863 |
Context
The deprecation logger (which outputs in
logs/logstash-deprecation.log
is intended to list all the deprecation statements that would help a user to fix their pipelines to be future proof.Change requested
The
:deprecation
modifier which used in plugin'sconfig
DSL logs the warnings on the main Logstash's logger and not the deprecation one.For example the setting definitions:
generates the following line on the
logs/logstash-plain.log
which instead should go on the deprecation logger.
The text was updated successfully, but these errors were encountered: