-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Deprecate o.a.l.l.c.a.r.a.Duration
class for removal
#2425
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
62262d3
to
9ad553c
Compare
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.
I would have rather removed action.Duration
, but anyway...
...-core/src/main/java/org/apache/logging/log4j/core/config/plugins/convert/TypeConverters.java
Outdated
Show resolved
Hide resolved
By using the deprecated class internally, we benefit from the more lax parsing rules, withouth exposing the class in the API.
d85a007
to
b1c9cd8
Compare
Hi @ppkarwasz, Can you update the release notes for 2.24.0 to document the fact that this deprecation also means that the relaxed syntax of Thanks, |
...core/src/main/java/org/apache/logging/log4j/core/appender/rolling/action/IfLastModified.java
Show resolved
Hide resolved
...core/src/main/java/org/apache/logging/log4j/core/appender/rolling/action/IfLastModified.java
Show resolved
Hide resolved
I also am not sure if it would be worthwhile calling out to users in the Release Notes that configuration elements such as |
@norrisjeremy, to keep the backward compatibility, Log4j 2 still uses the (deprecated) Log4j |
We deprecate the
o.a.l.l.c.a.r.a.Duration
and replace it withjava.time.Duration
.