aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-10-09 16:39:49 +0200
committerMax Audron <audron@cocaine.farm>2021-10-10 16:21:55 +0200
commit1388f85af78bb07c417f0b8cc7f2c3eb8327b1ef (patch)
treee97051e9ae41eef9bfc8813b664eab314b6fbcb0 /src/main.rs
parentstrip www. (diff)
add tracing and error context to url preview
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index a9faa78..776299d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,12 +2,7 @@
async fn main() {
use catinator::catinator;
- tracing_subscriber::fmt()
- .compact()
- .with_span_events(tracing_subscriber::fmt::format::FmtSpan::FULL)
- .with_max_level(tracing::Level::DEBUG)
- .with_thread_ids(true)
- .init();
+ tracing_subscriber::fmt::init();
let mut sed = catinator::hooks::sed::Sed::new();