Skip to content
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

[Logging] Update 7.12 deprecations of elasticsearch.logQueries to include a copy+paste equivalent config #97060

Closed
wylieconlon opened this issue Apr 13, 2021 · 3 comments
Labels
Feature:Logging Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Docs v7.12.0

Comments

@wylieconlon
Copy link
Contributor

The 7.12.0 release notes tell me that this setting is deprecated, but the recommended configuration that is suggested is both buggy and not a 1:1 equivalent setting.

Before 7.12, it was possible to set elasticsearch.logQueries without using verbose logging. The release notes should include an equivalent configuration for this case, where the user only wants queries without full verbose logging.

Also, I get this error when I try the release notes: [config validation of [logging].loggers.0.name]: expected value of type [string] but got [undefined].

@wylieconlon wylieconlon added Team:Docs Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Logging v7.12.0 labels Apr 13, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs (Team:Docs)

@mshustov
Copy link
Contributor

mshustov commented Apr 14, 2021

an example from Release Notes

logging:
  loggers:
     - context: elasticsearch.query
       level: off

doesn't take into account changes introduced in #90764
Should be:

logging:
  loggers:
    - name: elasticsearch.query
      level: all
      appenders: [console]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logging Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Docs v7.12.0
Projects
None yet
Development

No branches or pull requests

4 participants