You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) louisbeaumont@louisbeaumontme-macbook:~/Documents/screen-pipe$ ./target/release/screenpipe --audio-chunk-duration 180 --data-dir $HOME/.screenpipe --disable-audio
thread 'main' panicked at /Users/louisbeaumont/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/util.rs:91:14:
failed to set global default subscriber: SetLoggerError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#[tokio::main]asyncfn main() -> anyhow::Result<()>{// Initialize logginglet cli = Cli::parse();letmut builder = env_logger::Builder::new();
builder
.filter(None,LevelFilter::Info).filter_module("tokenizers",LevelFilter::Error).filter_module("rusty_tesseract",LevelFilter::Error);if cli.debug{
builder.filter_module("screenpipe",LevelFilter::Debug);}// when i comment builder.init(); it does not crash anymore?
builder.init();
console_subscriber::init();
anyone know why console subscriber crash when used w my env logger thing ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
yo
anyone know why console subscriber crash when used w my env logger thing ?
Beta Was this translation helpful? Give feedback.
All reactions