Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for a FMT layout configuration when log4cxx is statically linked #422

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

swebb2066
Copy link
Contributor

This PR prevents the fault:
log4cxx: Could not instantiate class [org.apache.log4j.FMTLayout].
when loading a configuration that uses FMTLayout and the application was linked to a Log4cxx static library.

The code for FMTLayout is not bound into the application when the code does not include a reference to FMTLayout.

@swebb2066 swebb2066 merged commit bcf2f12 into master Oct 25, 2024
32 checks passed
@swebb2066 swebb2066 deleted the include_fmt_layout_in_static_library branch October 25, 2024 23:14
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