-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix typo in LoggerConfig.RootLogger.Builder#withtFilter (#3369) #3372
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
Conversation
Can you add a changelog entry (of type |
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.
We should use setFilter
instead of withFilter
.
I also noticed that none of our tests use the LoggerConfig
builder and they call the deprecated LoggerConfig#createLogger
method instead. Could you fix this?
log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.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.
LGTM
Your two last commits are not signed and linked to the @jethomas-tsi account. Could you resign them, so I can merge the PR? git --force-rebase --gpg-sign origin/2.x
git push -f BTW: if you wait for the required checks to pass, feel free to merge this yourself. |
1f38f1b
to
78cc906
Compare
…der (apache#3369) Deprecated LoggerConfig.RootLogger.Builder#withtFilter(Filter). Added LoggerConfig.RoottLogger.Builder#withFilter(Filtter)
+ properly delegated from deprecated method to new method + updated affected package-info versions for baseline
* switched tests to use Builders instead of createLogger * changed new LoggerConig.RootLogger.Builder#withFilter to LoggerConfig.RootLogger.Builder#setFilter * deprecated LoggerConfig.Builder.withFilter and added LoggerConig.Builder.setFilter * moved changelog to correct .2.x.x directory
78cc906
to
d496f03
Compare
The `o.a.l.l.core.async` package was modified indirectly: `AsyncLoggerConfig` inherited the changes to `LoggerConfig`.
In LoggerConfig.RootLogger.Builder: