Skip to content

Discard defined but unused loggers, appenders and filters#4069

Merged
vy merged 1 commit intoapache:2.xfrom
Nordix:issue-4036
Mar 29, 2026
Merged

Discard defined but unused loggers, appenders and filters#4069
vy merged 1 commit intoapache:2.xfrom
Nordix:issue-4036

Conversation

@MichaelMorrisEst
Copy link
Copy Markdown
Contributor

Closes #4036

A ConfigurationException shall not be thrown where logger, appender or filter properties are defined in the configuration but not referenced in the "loggers", "appenders" or "filters" element respectively

A ConfigurationException shall not be thrown where logger, appender or filter properties are defined in the configuration but not referenced in the "loggers", "appenders" or "filters" element respectively

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Copy link
Copy Markdown
Member

@vy vy left a comment

Choose a reason for hiding this comment

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

@MichaelMorrisEst, thanks so much!

@vy vy enabled auto-merge (squash) March 29, 2026 19:51
@vy vy merged commit c889dcb into apache:2.x Mar 29, 2026
5 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Log4j pull request tracker Mar 29, 2026
@github-actions
Copy link
Copy Markdown

Job Requested goals Build Tool Version Build Outcome Build Scan®
build-macos-latest clean install 3.9.8 Build Scan PUBLISHED
build-ubuntu-latest clean install 3.9.8 Build Scan PUBLISHED
build-windows-latest clean install 3.9.8 Build Scan PUBLISHED
Generated by gradle/develocity-actions

@vy vy deleted the issue-4036 branch March 29, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Properties config with partial “appenders” list fails in >= 2.25.0 with ConfigurationException: No type attribute provided for component appender

2 participants