Added the log level
This commit is contained in:
@@ -402,6 +402,12 @@ pub struct AppConfig {
|
||||
pub scheduling: SchedulingConfigFe,
|
||||
#[serde(default)]
|
||||
pub musicbrainz: MusicBrainzConfigFe,
|
||||
#[serde(default = "default_log_level")]
|
||||
pub log_level: String,
|
||||
}
|
||||
|
||||
fn default_log_level() -> String {
|
||||
"info".into()
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
|
||||
|
||||
Reference in New Issue
Block a user