chore(relay): state the logging invariant directly

This commit is contained in:
Julius Joska
2026-10-03 22:47:32 +02:00
parent 617dd05267
commit ac60a4cfd9
+1 -1
View File
@@ -38,7 +38,7 @@ const MAX_BODY_BYTES: usize = 64 * 1024;
#[tokio::main] #[tokio::main]
async fn main() -> anyhow::Result<()> { async fn main() -> anyhow::Result<()> {
// Log formát bez IP adres a bez identifikátorů klientů — DoD sprintu. // Log formát bez IP adres a bez identifikátorů klientů — relay nesmí nic z toho uchovávat.
tracing_subscriber::fmt() tracing_subscriber::fmt()
.with_env_filter( .with_env_filter(
EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info")), EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info")),