From f69ff158f957cb680b66f0e681a00720430380c1 Mon Sep 17 00:00:00 2001 From: Rouven Himmelstein Date: Tue, 31 Oct 2023 08:46:07 +0100 Subject: [PATCH] feat(logging): print server time to log --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index e2fcf69..4bbe3d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,6 +53,9 @@ async fn main() -> std::io::Result<()> { env!("CARGO_PKG_VERSION") ); + // Print system date and time + info!("📅 System time: {}", chrono::Local::now().format("%Y-%m-%d %H:%M:%S")); + // Create a new resource reader based on the provided resources path let resource_reader = resource_reader::new( env::var("RESOURCE_PATHS")