Remove logic to set `splinterd` logger level
The verbosity flag should just affect the stdout appender not the
loggers that feed into it. This change removes the logic to set the
`splinterd` logger level to whatever the verbosity flag thinks it should
be.
@@ -185,19 +185,6 @@ pub fn configure_logging(
};
let loggers = if let Some(loggers) = config.loggers() {
loggers
- .iter()
- .map(|l| {
- if l.name == "splinterd" {
- LoggerConfig {
- level: Some(config.verbosity()),
- name: l.name.to_owned(),
- appenders: l.appenders.to_owned(),
- }
- } else {
- l.to_owned()
- }
- })
- .collect()
} else {
vec![]
};
