mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 11:59:48 -05:00
feat(log): print the configuration as trace log at startup
This commit is contained in:
parent
48063d736a
commit
63c79b8297
1 changed files with 1 additions and 0 deletions
|
@ -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::<Config>();
|
||||
|
|
Loading…
Reference in a new issue