Skip to content

Commit 63c79b8

Browse files
committed
feat(log): print the configuration as trace log at startup
1 parent 48063d7 commit 63c79b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ async fn main() -> IoResult<()> {
3131
None => PathBuf::from("config.toml"),
3232
};
3333
let config = Config::parse(&config_path).expect("failed to parse config");
34+
log::trace!("{:#?}", config);
3435
let server_config = config.server.clone();
3536
let paste_config = RwLock::new(config.paste.clone());
3637
let (config_sender, config_receiver) = mpsc::channel::<Config>();

0 commit comments

Comments
 (0)