aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 8af8c63..204c318 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -10,7 +10,7 @@ use dashmap::DashMap;
10use std::{env, sync::Arc}; 10use std::{env, sync::Arc};
11use time::UtcOffset; 11use time::UtcOffset;
12use tokio::sync::broadcast::{channel, Sender}; 12use tokio::sync::broadcast::{channel, Sender};
13use tracing::{info, level_filters::LevelFilter}; 13use tracing::{info, level_filters::LevelFilter, trace};
14use tracing_subscriber::{ 14use tracing_subscriber::{
15 fmt::{self, time::OffsetTime}, 15 fmt::{self, time::OffsetTime},
16 prelude::*, 16 prelude::*,
@@ -89,11 +89,12 @@ async fn main() -> color_eyre::eyre::Result<()> {
89 .from_env_lossy(), 89 .from_env_lossy(),
90 ) 90 )
91 .init(); 91 .init();
92 trace!("logging initialized");
92 93
93 Device::setup()?; 94 Device::setup()?;
94 95
95 let version = env!("CARGO_PKG_VERSION"); 96 let version = env!("CARGO_PKG_VERSION");
96 info!("start webol v{}", version); 97 info!(?version, "start webol");
97 98
98 let (tx, _) = channel(32); 99 let (tx, _) = channel(32);
99 100