2 ms·
I've found https://github.com/logstash/logstash-logback-encoder https://github.com/logstash/logstash-logback-encoder pretty sufficient for this as it helps gene
by balamaci 10y ago
I've found https://github.com/logstash/logstash-logback-encoder https://github.com/logstash/logstash-logback-encoder pretty sufficient for this as it helps generate json logs with extra custom fields based on SFL4J log statements. You can use it's layout to send the json formatted logs to other endpoints not just logback. It's actually being used like that to send to kafka in https://github.com/danielwegener/logback-kafka-appender https://github.com/danielwegener/logback-kafka-appender