Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
117
Description
According to the API documentation of SimpleDateFormat, date formats are not synchronized and it is recommended to create separate format instances for each thread.
However, a possibly simpler (mer efficient) solution would be to synchronize on the SimpleDateFormat object in the convert() method to prevent two threads to access it concurrently.
Attachments
Issue Links
- duplicates
-
LOGBACK-331 Synchronization of SimpleDateFormat object in DateConverter
- Resolved