From 54035ca467789b6218008b3d94c4aa40214a3a35 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Wed, 24 Jan 2024 18:24:26 +0100 Subject: You wouldn't believe it, but it's time for another dependency --- rs/server/Cargo.toml | 1 + rs/server/src/main.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'rs/server') diff --git a/rs/server/Cargo.toml b/rs/server/Cargo.toml index edb76d8..0572cac 100644 --- a/rs/server/Cargo.toml +++ b/rs/server/Cargo.toml @@ -10,6 +10,7 @@ axum = "0.7" base64 = "0.21" chrono = { version = "0.4", features = ["serde"] } common = { path = "../common" } +env_logger = "0.9.0" mime = "0.3" serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/rs/server/src/main.rs b/rs/server/src/main.rs index b346bc6..e816dde 100644 --- a/rs/server/src/main.rs +++ b/rs/server/src/main.rs @@ -160,6 +160,7 @@ fn get_s3_client(env: &Env) -> Result { #[tokio::main] async fn main() -> ExitCode { + env_logger::init(); tracing_subscriber::fmt::init(); let env = match Env::load() { -- cgit v1.2.3