-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[deb/rpm] Deprecation warnings caused by legacy logger #109159
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
Using the new configuration will have no effect other than to introduce additional/duplicate logs to the same log file in the new format. It will not remove logs in the legacy format. We decided we would not consider this a true breaking change as the legacy logs weren't removed -- although it is somewhat of a grey area (e.g. it would impact folks relying on grok patterns for parsing & ingesting kibana logs, but we decided this was an acceptable trade off) |
Resolved with #111192 in 8.0. We don't want to break the log format in 7.x, so we'll have to leave the deprecation warning in. |
OS packages manage Kibana's logging configuration and will be updated automatically to use the new logging configuration in 8.0. This skips the critical deprecation error that will be logged by the upgrade assistant for a package managed configuration. Related to elastic#111263 Related to elastic#109159
OS packages manage Kibana's logging configuration and will be updated automatically to use the new logging configuration in 8.0. This skips the critical deprecation error that will be logged by the upgrade assistant for a package managed configuration. Related to #111263 Related to #109159 Co-authored-by: Kibana Machine <[email protected]>
OS Packages make use of the legacy logger by setting
logging.dest
-kibana/src/dev/build/tasks/os_packages/service_templates/systemd/usr/lib/systemd/system/kibana.service
Line 18 in dd9dd52
This setting was deprecated in 7.13.0 - #94238 and causes console warnings now. Using the new logging configuration changes the logging format and [1]still logs to stdout (for now).
[1]https://www.elastic.co/guide/en/kibana/current/logging-settings.html#logging-settings
We don't want to break the logging format in 7.x, so it looks like the way forward is to continue using the deprecated logger in 7.x. @elastic/kibana-core does this make sense? Looking for recommendations on how we want to approach this
The text was updated successfully, but these errors were encountered: