Switch FastDateFormat to DateTimeFormatter#377
Conversation
Remove dependency on apache commons-lang3 (since FastDateFormat was the only thing being used). Switch default timestamp format to DateTimeFormatter.ISO_OFFSET_DATE_TIME Added the ability to specify DateTimeFormatter constant names as patterns. This change is NOT fully backwards compatible, since: * the default timestamp pattern changed to DateTimeFormatter.ISO_OFFSET_DATE_TIME * the pattern strings supported by DateTimeFormatter are not exactly the same as those supported by FastDateFormat
|
We have the problem with the randomly sorted log messages, too (if their millisecond-precision-timestamps are the same). ELK released the fix with 7.0? elastic/elasticsearch#10005 |
|
Hi @mfriess2 , this change to logstash-logback-encoder to switch to |
Switch usage of
FastDateFormattoDateTimeFormatterRemove dependency on apache commons-lang3 (since
FastDateFormatwas the only thing being used).Switch default timestamp format to
DateTimeFormatter.ISO_OFFSET_DATE_TIMEAdded the ability to specify
DateTimeFormatterconstant names as patterns.This change is NOT fully backwards compatible, since:
DateTimeFormatter.ISO_OFFSET_DATE_TIMEDateTimeFormatterare not exactly the same as those supported previously byFastDateFormatWhen this PR is merged, the major version will need to be bumped due to the backwards incompatibilities.
Therefore, holding off on merging this PR until ready for a new major release.