mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
add the log_level variable to the cli and reduce the log level of milli and grenad
This commit is contained in:
parent
b4fd4212ad
commit
36f32f58d4
3 changed files with 11 additions and 2 deletions
|
@ -188,6 +188,10 @@ pub struct Opt {
|
|||
#[structopt(long, conflicts_with = "import-snapshot")]
|
||||
pub import_dump: Option<PathBuf>,
|
||||
|
||||
/// Set the log level
|
||||
#[structopt(long, env = "MEILI_LOG_LEVEL", default_value = "info")]
|
||||
pub log_level: String,
|
||||
|
||||
#[structopt(skip)]
|
||||
pub indexer_options: IndexerOpts,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue