You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #120044 we introduced an elasticsearch.deprecation logger context that logs on info level if an Elasticsearch request from Kibana returns a warning header.
However, this can be confusing for users because they can't action these deprecations. It would be better to lower the log level to debug but then enable this logger by default on Cloud. Because the elasticsearch.deprecation logger also logs deprecations caused by user queries like from the console app it could cause a lot of log volume. So we should create two separate loggers: elasticsearch.deprecation.kibana and elasticsearch.deprecation.user
On cloud we would only enable debug logs for elasticsearch.deprecation.kibana by adding the following to the config template:
logging.loggers:
- name: elasticsearch.deprecation.kibanalevel: all
The text was updated successfully, but these errors were encountered:
Given the work done in #120043 I don't think it's necessary to enable debug logging on Cloud, we should rather catch deprecated API usage during our development cycle.
In #120044 we introduced an
elasticsearch.deprecation
logger context that logs oninfo
level if an Elasticsearch request from Kibana returns awarning
header.However, this can be confusing for users because they can't action these deprecations. It would be better to lower the log level to
debug
but then enable this logger by default on Cloud. Because theelasticsearch.deprecation
logger also logs deprecations caused by user queries like from the console app it could cause a lot of log volume. So we should create two separate loggers: elasticsearch.deprecation.kibana and elasticsearch.deprecation.userOn cloud we would only enable debug logs for elasticsearch.deprecation.kibana by adding the following to the config template:
The text was updated successfully, but these errors were encountered: