Logstash forwarder vs. logback json encoder


Hi, logs can be forwarded to logstash server using logback json encoder, LogstashTcpSocketAppender (https://github.com/logstash/logstash-logback-encoder) without installing the logstash forwarder. Is there a reason we still might need to install the logstash forwarder?

(Magnus B├Ąck) #2

I prefer logging to a file for the buffering it provides. You don't want to lose messages when you have network connectivity issues, nor do you don't want it to slow down your application.


Great point - thanks!

(system) #4