Skip to content

Comments

[XEN-3155] Allow configuration of log level through environment variable#232

Merged
NotAPenguin0 merged 9 commits intomasterfrom
XEN-3155-configure-log
Jan 7, 2026
Merged

[XEN-3155] Allow configuration of log level through environment variable#232
NotAPenguin0 merged 9 commits intomasterfrom
XEN-3155-configure-log

Conversation

@NotAPenguin0
Copy link
Contributor

@NotAPenguin0 NotAPenguin0 commented Nov 17, 2025

This PR allows users of the images to set the log level for different packages dynamically by specifying the LOG_LEVEL_org_my_package=the-level environment variable when running an image.

It does this by generating a log4j configuration file when the container starts based on the current environment.

The last commit also touches the other scripts to change their logging type to entrypoint, so that the logging test doesn't reject these logs for not containing the proper loggerName and shortMessage fields.

@NotAPenguin0 NotAPenguin0 requested a review from pvriel November 17, 2025 08:34
@NotAPenguin0 NotAPenguin0 force-pushed the XEN-3155-configure-log branch from d3f8553 to a86b91b Compare November 17, 2025 08:47
@NotAPenguin0 NotAPenguin0 force-pushed the XEN-3155-configure-log branch from a86b91b to 29bb882 Compare November 17, 2025 09:26
…se they do not report the correct fields for an application type log
@NotAPenguin0 NotAPenguin0 force-pushed the XEN-3155-configure-log branch from a4baab8 to c3a59e6 Compare November 17, 2025 09:48
@NotAPenguin0 NotAPenguin0 merged commit bc9d07d into master Jan 7, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants