Re: LOG4J2-3075 Formatting timestamps with nanosecond precision

2021-05-08 Thread Matt Sicker
Do note that the FastDateFormat et al. classes are copied directly from Apache Commons. Most changes done there are relevant to upstream. :) On Fri, 7 May 2021 at 10:14, Volkan Yazıcı wrote: > > Hello, > > I am trying to tackle LOG4J2-3075 > rep

LOG4J2-3075 Formatting timestamps with nanosecond precision

2021-05-07 Thread Volkan Yazıcı
Hello, I am trying to tackle LOG4J2-3075 reporting that JsonTemplateLayout doesn't format nanoseconds. I have done some preliminary study and checked *DatePatternConverter* for inspiration. In a nutshell, this is what *DataPatternConverter* does: