Skip to content

Commit 758df87

Browse files
committed
chore: Add TODOs
1 parent 6da2c87 commit 758df87

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rust/operator-binary/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ async fn main() -> anyhow::Result<()> {
6464
cluster_info_opts,
6565
}) => {
6666
let _tracing_guard = Tracing::builder()
67+
// TODO (@Techassi): This should be a constant
6768
.service_name("airflow-operator")
6869
.with_console_output((
70+
// TODO (@Techassi): Change to CONSOLE_LOG, create constant
6971
"AIRFLOW_OPERATOR_LOG",
7072
LevelFilter::INFO,
7173
!telemetry_arguments.no_console_output,
@@ -81,6 +83,7 @@ async fn main() -> anyhow::Result<()> {
8183
.clone();
8284

8385
Settings::builder()
86+
// TODO (@Techassi): Change to CONSOLE_LOG or FILE_LOG, create constant
8487
.with_environment_variable("AIRFLOW_OPERATOR_LOG")
8588
.with_default_level(LevelFilter::INFO)
8689
.file_log_settings_builder(log_directory, "tracing-rs.log")

0 commit comments

Comments
 (0)