Skip to content

[8.18] Set root logger level for CLIs (#123742)#123818

Merged
elasticsearchmachine merged 1 commit intoelastic:8.18from
rjernst:backport/8.18/pr-123742
Mar 2, 2025
Merged

[8.18] Set root logger level for CLIs (#123742)#123818
elasticsearchmachine merged 1 commit intoelastic:8.18from
rjernst:backport/8.18/pr-123742

Conversation

@rjernst
Copy link
Copy Markdown
Member

@rjernst rjernst commented Mar 2, 2025

Backports the following commits to 8.18:

All CLIs in elasticsearch support command line flags for controlling the
output level. When --silent is used, the expectation is that normal
logging is omitted. Yet the log4j logger is still configured to output
error level logs. This commit sets the appropriate log level for log4j
depending on the Terminal log level.
@rjernst rjernst added :Core/Infra/Logging Log management and logging utilities >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Mar 2, 2025
@elasticsearchmachine elasticsearchmachine merged commit 426b981 into elastic:8.18 Mar 2, 2025
15 checks passed
@rjernst rjernst deleted the backport/8.18/pr-123742 branch March 2, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/Logging Log management and logging utilities >refactoring Team:Core/Infra Meta label for core/infra team v8.18.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants