Deprecate o.a.l.l.c.a.r.a.Duration class for removal#2425
Conversation
62262d3 to
9ad553c
Compare
vy
left a comment
There was a problem hiding this comment.
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.Durationand replace it withjava.time.Duration.