diff --git a/src/main.rs b/src/main.rs index dd1fa37..0e88d31 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,7 @@ use clap::Parser as _; use color_eyre::{eyre::Context, Result}; use matrix_sdk::Session; use serde::{Deserialize, Serialize}; -use tracing::instrument; +use tracing::{instrument, event, Level}; use xdg::BaseDirectories; mod bot; @@ -126,6 +126,8 @@ async fn main() -> Result<()> { .wrap_err("Failed to load bot configuration")?; let bot = Bot::new(config).await?; + + event!(Level::INFO, "logged in successfully, starting bot"); bot.run().await? } }