Emit the loaded config as debug trace
- Id
- 912879a3d123a3e45e2591941d3ba8ababa5ca67
- Author
- Caio
- Commit time
- 2024-03-08T12:38:41+01:00
Modified caca/src/main.rs
let (config, gitroot) = parse_args()?;
let config = Arc::new(config);
+ tracing::debug!(config = tracing::field::debug(&config), "loaded config");
+
let basedir = PathBuf::from(gitroot).canonicalize()?;
// May fiddle with env. keep it early at boot