add the log_level variable to the cli and reduce the log level of milli and grenad

This commit is contained in:
Tamo 2021-06-23 11:07:19 +02:00
parent b4fd4212ad
commit 36f32f58d4
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
3 changed files with 11 additions and 2 deletions

View file

@ -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,
}