mirror of
https://github.com/Noratrieb/cargo-bisect-rustc-service.git
synced 2026-01-14 08:15:01 +01:00
fix level filter
This commit is contained in:
parent
fb4adf0ca3
commit
5112faee98
1 changed files with 6 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ use color_eyre::eyre::Context;
|
|||
use rusqlite::Connection;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::env;
|
||||
use tracing::{error, info};
|
||||
use tracing::{error, info, metadata::LevelFilter};
|
||||
use tracing_subscriber::EnvFilter;
|
||||
use uuid::Uuid;
|
||||
|
||||
|
|
@ -29,7 +29,11 @@ async fn main() -> color_eyre::Result<()> {
|
|||
color_eyre::install()?;
|
||||
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(EnvFilter::from_default_env())
|
||||
.with_env_filter(
|
||||
EnvFilter::builder()
|
||||
.with_default_directive(LevelFilter::INFO.into())
|
||||
.from_env_lossy(),
|
||||
)
|
||||
.init();
|
||||
|
||||
let (job_queue_send, job_queue_recv) = mpsc::channel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue