Skip to content

[deb/rpm] Deprecation warnings caused by legacy logger #109159

Closed

Description

OS Packages make use of the legacy logger by setting logging.dest -

ExecStart=/usr/share/kibana/bin/kibana --logging.dest="/var/log/kibana/kibana.log" --pid.file="/run/kibana/kibana.pid"

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

When you switch to the new logging configuration, you will start seeing duplicate log entries in both formats. These will be removed when the default appender is no longer required.

logging:
  appenders:
    file:
      type: file
      fileName: kibana.log
      layout:
        type: pattern
  root:
    appenders: [default, file]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Team:OperationsTeam label for Operations Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions