mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-02-25 18:55:38 -06:00
reduce frequency of interface resets on ios
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user