Hello

In extension to
https://github.com/qos-ch/logback/discussions/698#discussioncomment-6849417.
I wanted to propose making an injectable FieldProcesssor bean for Encoder.
Where you can specify how the message will be generated.

By default, data will be processed as it is currently
in ch.qos.logback.classic.encoder.JsonEncoder

And if needed, it could be extended to change behavior.
For example, time could be converted to UTF format.
Or the message could be sent not as a string, but as a JSON object.

Best regards,
Mikl
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-dev

Reply via email to