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?

1 Like

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!