You should be able to use include the following in your pattern: %d{UNIX_MILLIS}
>From the docs:
>https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout
Best,
-ck
On Thu, Sep 30, 2021, at 17:55, Niranjan Rao wrote:
> Greetings,
>
> On log4j2.
>
> I have tried obvious searches a
Greetings,
On log4j2.
I have tried obvious searches and it was immediately clear to me. I'm
looking for a way to get the time stamp similar to value returned by
System.currentTimeMillis().
Also want to ensure I can log both human readable and (more) machine
readable formats based on format
I don't think there's any lingering threads, Carter.
I changed my test to follow the pattern of
AsyncLoggerConfigErrorOnFormat.java. Same story -- works locally; in
CI, it works if it's the only test that's run; and intermittently if
run with the whole suite. The test is very simple and should loo