Compose: force INFO logs for runner and nodes in CI

This commit is contained in:
andrussal 2025-12-07 04:14:30 +01:00
parent 88d89b6e14
commit c697129ea6
2 changed files with 6 additions and 1 deletions

View File

@ -369,8 +369,9 @@ jobs:
COMPOSE_RUNNER_HOST: "127.0.0.1"
RUST_BACKTRACE: "1"
NOMOS_TESTS_TRACING: "true"
NOMOS_LOG_DIR: "${{ github.workspace }}/.tmp/compose-logs"
RUST_LOG: "info"
NOMOS_LOG_LEVEL: "info"
NOMOS_LOG_DIR: "${{ github.workspace }}/.tmp/compose-logs"
run: |
mkdir -p "$TMPDIR"
cargo run -p runner-examples --bin compose_runner -- --nocapture

View File

@ -522,8 +522,12 @@ fn build_nodes(
fn base_environment(cfgsync_port: u16) -> Vec<EnvEntry> {
let pol_mode = std::env::var("POL_PROOF_DEV_MODE").unwrap_or_else(|_| "true".to_string());
let rust_log = std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string());
let nomos_log_level = std::env::var("NOMOS_LOG_LEVEL").unwrap_or_else(|_| "info".to_string());
vec![
EnvEntry::new("POL_PROOF_DEV_MODE", pol_mode),
EnvEntry::new("RUST_LOG", rust_log),
EnvEntry::new("NOMOS_LOG_LEVEL", nomos_log_level),
EnvEntry::new(
"CFG_SERVER_ADDR",
format!("http://host.docker.internal:{cfgsync_port}"),