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

Explicitly restrict log level options to those that are documented #3292

Closed
loiclec opened this issue Jan 3, 2023 · 0 comments · Fixed by #3293
Closed

Explicitly restrict log level options to those that are documented #3292

loiclec opened this issue Jan 3, 2023 · 0 comments · Fixed by #3293
Labels
breaking change The related changes are breaking for the users enhancement New feature or improvement v1.0.0 PRs/issues solved in v1.0.0 released on 2023-02-06
Milestone

Comments

@loiclec
Copy link
Contributor

loiclec commented Jan 3, 2023

See: https://docs.meilisearch.com/learn/configuration/instance_options.html#log-level

Currently we forward the given log level as-is to env_logger's builder. This inadvertently makes env_logger's API part of meilisearch's interface. We should be more explicit in the code about the accepted log levels.

@loiclec loiclec added the enhancement New feature or improvement label Jan 3, 2023
@loiclec loiclec added this to the v1.0.0 milestone Jan 3, 2023
@curquiza curquiza added the breaking change The related changes are breaking for the users label Jan 3, 2023
bors bot added a commit that referenced this issue Jan 4, 2023
3293: Explicitly restrict log level options to those that are documented r=loiclec a=loiclec

Fixes #3292





Co-authored-by: Loïc Lecrenier <loic.lecrenier@me.com>
@bors bors bot closed this as completed in d082ded Jan 4, 2023
@meili-bot meili-bot added the v1.0.0 PRs/issues solved in v1.0.0 released on 2023-02-06 label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change The related changes are breaking for the users enhancement New feature or improvement v1.0.0 PRs/issues solved in v1.0.0 released on 2023-02-06
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants