Logstash forwarder vs. logback json encoder


#1

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.


#3

Great point - thanks!


(system) #4