Hello, log4j2-logstash-layout <https://github.com/vy/log4j2-logstash-layout> uses Jackson JsonGenerator to emit JSON. There is a ticket <https://github.com/vy/log4j2-logstash-layout/issues/31> on the project asking for truncating strings longer than a certain value. The most straightforward (and crude?) approach, I guess, would be to wrap every JsonGenerator#writeFieldName, JsonGenerator#writeString, etc. with a condition on the input. Is there any other way to have the same effect?
Best. -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscr...@googlegroups.com. To post to this group, send email to jackson-user@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/4730b52a-d7d9-45ed-b243-1a2f0f73dffe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.