Skip to content

Commit 7495848

Browse files
committed
reintroduce the CONTAINERDEBUG_LOG_DIRECTORY env var
1 parent c183f89 commit 7495848

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

rust/operator-binary/src/container.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,15 @@ wait_for_termination $!
904904
},
905905
);
906906
}
907+
// Needed for the `containerdebug` process to log it's tracing information to.
908+
env.insert(
909+
"CONTAINERDEBUG_LOG_DIRECTORY".to_string(),
910+
EnvVar {
911+
name: "CONTAINERDEBUG_LOG_DIRECTORY".to_string(),
912+
value: Some(format!("{STACKABLE_LOG_DIR}/containerdebug")),
913+
value_from: None,
914+
},
915+
);
907916

908917
// Overrides need to come last
909918
let mut env_override_vars: BTreeMap<String, EnvVar> =

0 commit comments

Comments
 (0)