-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
STF-MilestonesMilestones funded by the Sovereign Tech FundMilestones funded by the Sovereign Tech Fundwaiting-for-maintainer
Description
Date formatting in Log4j uses different formats:
- older layouts use
SimpleDateFormat, - newer layouts use
DateTimeFormatter.
While these formatters use similar patterns, the usage of both formatters causes code deduplication and performance issues.
For logging purposes a single formatter would be enough, which would:
- separate the format specifiers into a "date" part and a "time" part,
- format and cache the "date" part once a day,
- format the "time" part using a highly optimized formatter.
Metadata
Metadata
Assignees
Labels
STF-MilestonesMilestones funded by the Sovereign Tech FundMilestones funded by the Sovereign Tech Fundwaiting-for-maintainer