Skip to content

Commit

Permalink
[7.16] [deb/rpm] Skip deprecation warning for logging.dest (#120273)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jbudz and kibanamachine authored Dec 17, 2021
1 parent e5c3400 commit 92c547e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Environment=KBN_PATH_CONF=/etc/kibana
EnvironmentFile=-/etc/default/kibana
EnvironmentFile=-/etc/sysconfig/kibana

ExecStart=/usr/share/kibana/bin/kibana --logging.dest="/var/log/kibana/kibana.log" --pid.file="/run/kibana/kibana.pid"
ExecStart=/usr/share/kibana/bin/kibana --logging.dest="/var/log/kibana/kibana.log" --pid.file="/run/kibana/kibana.pid" --deprecation.skip_deprecated_settings[0]="logging.dest"

Restart=on-failure
RestartSec=3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi

name=kibana
program=/usr/share/kibana/bin/kibana
args="--logging.dest=/var/log/kibana/kibana.log"
args="--logging.dest=/var/log/kibana/kibana.log --deprecation.skip_deprecated_settings[0]=logging.dest"
pidfile="/var/run/kibana/$name.pid"

[ -r /etc/default/$name ] && . /etc/default/$name
Expand Down

0 comments on commit 92c547e

Please sign in to comment.