summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-23 11:26:01 +0200
committertv <tv@krebsco.de>2026-10-23 11:26:01 +0200
commit64fbe99234425259d2758982caa52e1a62272d03 (patch)
treead75e3a0448987e43712ece8a32527cf3e9809cb /src/main.rs
parent3c53394def0ba28555fefa97f2a68e09b97a0b70 (diff)
allow changing log filtering while node runs
This also changes the default to tracing-subscriber.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 7151032..67cb366 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -20,6 +20,7 @@ use url::Url;
mod api;
mod document;
+mod logging;
mod remake;
mod state;
mod swarm;
@@ -97,7 +98,7 @@ struct Args {
#[tokio::main]
async fn main() -> Result<()> {
- console_subscriber::init();
+ logging::init();
let args = Args::parse();