[logback-user] JSON layout without logback-contrib?
Ceki Gulcu
ceki at qos.ch
Fri May 17 17:50:42 UTC 2024
Hi Greg,
Have you seen JsonEncoder in the ch.qos.logback.classic.encoder package?
See also https://logback.qos.ch/manual/encoders.html#JsonEncoder
Please let us know how it goes,
--
Ceki Gülcü
Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch
On 5/17/2024 6:47 PM, Gregg, John E. via logback-user wrote:
> I noticed that logback-contrib was archived in Git recently.
>
>
>
> Is there another way to do JSON layout? I looked at the source because
> profiling showed a lot of GC coming from the SimpleDateFormatter
> constructor used in JsonLayoutBase and was hoping to find a new version
> that reused DateTimeFormatter instead.
>
>
>
> Thanks
>
>
More information about the logback-user
mailing list