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
> 
>  
_______________________________________________
logback-user mailing list
logback-user@qos.ch
https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-user

Reply via email to