-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Should we include a category with deprecation messages? #64824
Labels
:Core/Infra/Logging
Log management and logging utilities
>enhancement
Team:Core/Infra
Meta label for core/infra team
v7.12.0
v8.0.0-alpha1
Comments
pugnascotia
added
>enhancement
discuss
:Core/Infra/Logging
Log management and logging utilities
v8.0.0
v7.11.0
labels
Nov 9, 2020
Pinging @elastic/es-core-infra (:Core/Infra/Logging) |
We discussed this within core/infra and it seems easy enough and not to much overhead, given a fixed set of categories and requiring that when logging a deprecating message. |
pugnascotia
added a commit
that referenced
this issue
Jan 18, 2021
Closes #64824. Introduce the concept of categories to deprecation logging. Every location where we log a deprecation message must now include a deprecation category.
pugnascotia
added a commit
to pugnascotia/elasticsearch
that referenced
this issue
Jan 27, 2021
Sort-of backport of elastic#67443. Closes elastic#64824. Introduce the concept of categories to deprecation logging. Every location where we log a deprecation message must now include a deprecation category.
pugnascotia
added a commit
that referenced
this issue
Jan 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Core/Infra/Logging
Log management and logging utilities
>enhancement
Team:Core/Infra
Meta label for core/infra team
v7.12.0
v8.0.0-alpha1
Right now, the deprecation messages that Elasticsearch records contain a "key" (a string identifier, loosely descriptive) and a message about the deprecation, possibly with specific details.
We discussed during an 8.0 Stack Upgrade meeting whether it would be useful to also record a category field, e.g. "search" or "security". This would provide a useful field for grouping messages in the Kibana Upgrade Assistant. Such groupings would be useful for prioritising efforts to address deprecated uses of Elasticsearch, or even assigning work to different groups.
The work to implement this would be simple enough, just a little tedious.
The text was updated successfully, but these errors were encountered: