mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
set default level info and log seed at startup
This commit is contained in:
parent
8ec7e616b4
commit
d3495238c4
2 changed files with 2 additions and 2 deletions
|
@ -564,6 +564,7 @@ fn setup_simulation(
|
|||
) -> (u64, SimulatorEnv, Vec<InteractionPlan>) {
|
||||
if let Some(seed) = &cli_opts.load {
|
||||
let seed = seed.parse::<u64>().expect("seed should be a number");
|
||||
tracing::info!("seed={}", seed);
|
||||
let bug = bugbase
|
||||
.get_bug(seed)
|
||||
.unwrap_or_else(|| panic!("bug '{}' not found in bug base", seed));
|
||||
|
@ -660,7 +661,7 @@ fn init_logger() {
|
|||
.without_time()
|
||||
.with_thread_ids(false),
|
||||
)
|
||||
.with(EnvFilter::from_default_env())
|
||||
.with(EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info")))
|
||||
.try_init();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue