reduce frequency of interface resets on ios

This commit is contained in:
Christien Rioux
2024-07-25 21:10:12 -04:00
parent e759e50983
commit 87a0e38e36
13 changed files with 51 additions and 20 deletions

View File

@@ -153,6 +153,10 @@ pub struct CmdlineArgs {
#[cfg(feature = "rt-tokio")]
#[arg(long)]
console: bool,
/// change ingore_log_targets
#[arg(long)]
ignore_log_targets: Option<Vec<String>>,
}
#[instrument(level = "trace", skip_all, err)]
@@ -308,6 +312,11 @@ fn main() -> EyreResult<()> {
settingsrw.logging.console.enabled = true;
}
if let Some(ignore_log_targets) = args.ignore_log_targets {
println!("Changing ignored log targets: {:?}", ignore_log_targets);
settingsrw.logging.terminal.ignore_log_targets = ignore_log_targets
}
drop(settingsrw);
// Set specific config settings