Skip to content

Conversation

Techassi
Copy link
Member

Part of stackabletech/issues#639

Updated Environment Variables and CLI Arguments

Console logs

  • CONSOLE_LOG_DISABLED (--console-log-disabled): Disables console logs when set to true.
  • CONSOLE_LOG_LEVEL: Set the log level for the console logs.

File logs

  • FILE_LOG_DIRECTORY (--file-log-directory): Enable the file logs and set the file log directory.
  • FILE_LOG_ROTATION_PERIOD (--file-log-rotation-period): Set the rotation period of log files
  • FILE_LOG_LEVEL: Set the log level for file logs

OTEL logs

  • OTEL_LOG_EXPORTER_ENABLED (--otel-log-exporter-enabled): Enable exporting OTEL logs
  • OTEL_LOG_EXPORTER_LEVEL: Set the log level for OTEL logs

OTEL traces

  • OTEL_TRACE_EXPORTER_ENABLED (--otel-trace-exporter-enabled): Enable exporting OTEL traces
  • OTEL_TRACE_EXPORTER_LEVEL: Set the log level for OTEL traces

@Techassi Techassi self-assigned this Apr 11, 2025
@Techassi Techassi moved this to Development: In Progress in Stackable Engineering Apr 11, 2025
NickLarsenNZ
NickLarsenNZ previously approved these changes Apr 11, 2025
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

In a follow up PR we should allow configuring the max_files for the rolling file appender.

@NickLarsenNZ NickLarsenNZ moved this from Development: In Progress to Development: In Review in Stackable Engineering Apr 11, 2025
Techassi and others added 2 commits April 11, 2025 11:33
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
@Techassi Techassi force-pushed the refactor/telemetry-env-vars branch from 1e96799 to 26016b8 Compare April 11, 2025 09:33
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Techassi Techassi added this pull request to the merge queue Apr 11, 2025
@Techassi Techassi moved this from Development: In Review to Development: Done in Stackable Engineering Apr 11, 2025
Merged via the queue into main with commit 63a4e45 Apr 11, 2025
8 checks passed
@Techassi Techassi deleted the refactor/telemetry-env-vars branch April 11, 2025 10:55
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants