-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
RPM package sets deprecated logging.dest cli flag #111263
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
To fix this in 7.x we will probably have to set |
We merged a change for this recently - #98213 |
Closed in #98213 Any reason we're not backporting that to 7.15.1? |
This would affect users in 7.16 because they will get a deprecation warning for using |
FYI, on my CentOS 7 install it's here;
|
++, FYI: after having changed the |
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 <42973632+kibanamachine@users.noreply.github.com>
I've come up against a problem that I believe is caused by this too. When running Kibana (v7.16.2) via I've recently had an incident where Kibana became unavailable due to disk exhaustion - logging:
appenders:
rolling-file:
type: rolling-file
fileName: /var/log/kibana.log
layout:
type: pattern
policy:
type: size-limit
size: 100mb
strategy:
type: numeric
pattern: '-%i'
max: 2
root:
appenders:
- default
- rolling-file However, this is not having the desired effect. Whilst Attempts to disable the root logger ( How can one stop Kibana writing logs to |
Hey @akash1810 sorry you ran into this. I'd recommend removing logging.dest from The |
@jbudz thanks for the reply, it's come at a great time too as we have been upgrading our cluster this week! Great to hear the issue is resolved in the v8 release. |
Description:
The RPM package service description sets the deprecated
--logging.dest
flag which causes the following problems:@mshustov suggested setting
deprecation.skip_deprecated_settings='logging.dest'
to suppress the warningWhen using the RPM package and the new logging configuration, Kibana will keep writing legacy request logs to log files that have already been rotated (exceeded size or interval duration).
This is because legacy logging is enabled in the service description by setting
--logging.dest=
https://github.com/elastic/kibana/blob/7.15/src/dev/build/tasks/os_packages/service_templates/systemd/etc/systemd/system/kibana.service#L18
Versions affected: 7.15, 7.14, 7.13 and probably all of 7.x
The text was updated successfully, but these errors were encountered: