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
commit1acd998742b9b15ce754650915ccefd7f6e64939 (patch)
tree49baf7d6db62179b839eebe4aa82a6f3eeeb3e6b /src/main.rs
parentdd4454a163d2a2afbffdd62ee6008ac8ee86dc09 (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 1a9d68e..5abc0e2 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();