-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 to override fqcn in Log4jEventBuilder #1534
Conversation
Thanks @oshai, The fix looks good to me. Can you also:
|
Added changelog and test.
With the following java version (I am using sdk man):
|
I'v fixed the tool issue (configured toolchain), and now have another exception when running tests locally looks unrelated:
|
I had to do another local change:
But now the test pass locally. |
@ppkarwasz I think the PR is ready if you can take a look please. |
Gihub actions now fails only on windows gradle-core, which seems unrelated to this change:
|
Hi, PR is ready, please let me know if anything else is needed. If not, it would be great to know the timeline to merge / release as this is blocking: oshai/kotlin-logging#332. |
log4j-slf4j2-impl/src/main/java/org/apache/logging/slf4j/Log4jEventBuilder.java
Outdated
Show resolved
Hide resolved
log4j-slf4j2-impl/src/main/java/org/apache/logging/slf4j/Log4jEventBuilder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oshai, looks good to me.
There are still some test failures, but doens't looks related to the PR. |
No, they are not. We have 2 or 3 flaky tests that appear almost exclusively on the CI. |
fix #1533
[A clear and concise description of what the pull request is for along with a reference to the associated issue IDs, if they exist.]
Checklist
2.x
branch if you are targeting Log4j 2; usemain
otherwise./mvnw verify
succeeds (if it fails due to code formatting issues reported by Spotless, simply run./mvnw spotless:apply
and retry)src/changelog/.2.x.x
directory