From 63c79b8297ac45144b0769b3823949ab51fa017e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sat, 21 May 2022 06:26:17 +0300 Subject: [PATCH] feat(log): print the configuration as trace log at startup --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 09f4758..705beae 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,6 +31,7 @@ async fn main() -> IoResult<()> { None => PathBuf::from("config.toml"), }; let config = Config::parse(&config_path).expect("failed to parse config"); + log::trace!("{:#?}", config); let server_config = config.server.clone(); let paste_config = RwLock::new(config.paste.clone()); let (config_sender, config_receiver) = mpsc::channel::();