Configure console logs, OTLP logs, and traces independently

This commit is contained in:
lda committed 2026-10-10 15:56:20 +07:00 Verified
1 parent a2f39bd3c2
commit f34c1fe2d3
10 files changed
+263 -18

No files matched your search

+3
View File
@@ -283,6 +283,9 @@ mod tests {
authorization_env: Some("WAKEY_OTLP_AUTHORIZATION".into()),
service_name: "router-agent".into(),
json_logs: true,
console_filter: Some("info".into()),
otlp_log_filter: Some("debug".into()),
trace_filter: Some("info".into()),
},
terminal: TerminalConfig {
enabled: true,
+1
View File
@@ -156,6 +156,7 @@ mod tests {
authorization_env: Some("WAKEY_OTLP_AUTHORIZATION".into()),
service_name: "router-agent".into(),
json_logs: true,
..Default::default()
},
terminal: crate::config::TerminalConfig {
enabled: true,