Skip to content

Commit

Permalink
reintroduce the CONTAINERDEBUG_LOG_DIRECTORY env var
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Dec 15, 2024
1 parent 61d9e7b commit 74180a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rust/operator-binary/src/env_vars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,16 @@ pub fn build_airflow_statefulset_envs(
}
}

// Needed for the `containerdebug` process to log it's tracing information to.
env.insert(
"CONTAINERDEBUG_LOG_DIRECTORY".to_string(),
EnvVar {
name: "CONTAINERDEBUG_LOG_DIRECTORY".to_string(),
value: Some(format!("{STACKABLE_LOG_DIR}/containerdebug")),
value_from: None,
},
);

tracing::debug!("Env-var set [{:?}]", env);
transform_map_to_vec(env)
}
Expand Down

0 comments on commit 74180a5

Please sign in to comment.