Skip to content

[fork CI only] Use Log4j 2 configuration in wayang-submit (#536) - #1

Closed
mallesh-bot wants to merge 1 commit into
mainfrom
fix-536-log4j2-submit
Closed

mallesh-bot wants to merge 1 commit into
mainfrom
fix-536-log4j2-submit

Conversation

@mallesh-bot

Copy link
Copy Markdown
Owner

CI dry run inside the fork before opening the upstream PR to apache/wayang. Not for review.

🤖 Generated with Claude Code

Wayang depends on Log4j 2, but bin/wayang-submit passed the Log4j 1
property -Dlog4j.configuration when FLAG_LOG=true. Log4j 2 ignores that
property, and conf/ did not ship a logging configuration, so FLAG_LOG
had no effect.

Pass -Dlog4j2.configurationFile instead and ship a default
conf/log4j2.properties that logs INFO and above to stderr. Because the
file lives in the source conf/ directory, the assembly copies it into
the distribution and it is no longer lost on a clean install.

Generated-by: Claude Opus 5 (Claude Code)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mallesh-bot

Copy link
Copy Markdown
Owner Author

CI dry run finished (all green). Upstream PR: apache#817

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.

1 participant