diff --git a/crates/configuration/src/shared/types.rs b/crates/configuration/src/shared/types.rs index 1f3c5772b..201e198cf 100644 --- a/crates/configuration/src/shared/types.rs +++ b/crates/configuration/src/shared/types.rs @@ -357,7 +357,7 @@ impl<'de> de::Visitor<'de> for ArgVisitor { { // covers the "-lruntime=debug,parachain=trace" case // TODO: Make this more generic by adding the scenario in the regex below - if (v.starts_with("-l") || v.starts_with("-log")) && v.contains(',') { + if v.starts_with("-l") || v.starts_with("-log") { return Ok(Arg::Flag(v.to_string())); } let re = Regex::new("^(?(?-{1,2})(?[a-zA-Z]+(-[a-zA-Z]+)*))((?=| )(?.+))?$").unwrap();