Commit

Author:

Hash:

Timestamp:

+1 -1 +/-1 browse

Kevin Schoon [me@kevinschoon.com]

234b5df742b76ceb0c21ad2bf94aab79b09c035c

Sun, 13 Jul 2025 12:55:24 +0000 (4 months ago)

log config to stderr instead of uninitialized logger
1diff --git a/crates/config/src/reader.rs b/crates/config/src/reader.rs
2index d8af253..4a1feaf 100644
3--- a/crates/config/src/reader.rs
4+++ b/crates/config/src/reader.rs
5 @@ -35,7 +35,7 @@ pub fn try_read() -> Option<(PathBuf, String)> {
6 Path::new("./config.toml"),
7 Path::new("/etc/ayllu/config.toml"),
8 ] {
9- log::info!("reading configuration from {}", path.display());
10+ eprintln!("reading configuration from {}", path.display());
11 let ret = std::fs::read_to_string(path);
12 match ret {
13 Ok(r) => return Some((path.to_path_buf(), r)),