Explicitly restrict log level options to those that are documented

Fixes https://github.com/meilisearch/meilisearch/issues/3292
This commit is contained in:
Loïc Lecrenier
2023-01-03 11:55:34 +01:00
parent 947f08793a
commit d082ded7ad
4 changed files with 65 additions and 14 deletions

View File

@ -28,7 +28,7 @@ http_payload_size_limit = "100 MB"
log_level = "INFO"
# Defines how much detail should be present in Meilisearch's logs.
# Meilisearch currently supports five log levels, listed in order of increasing verbosity: `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`
# Meilisearch currently supports six log levels, listed in order of increasing verbosity: `OFF`, `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE`
# https://docs.meilisearch.com/learn/configuration/instance_options.html#log-level
max_index_size = "100 GiB"