When application's losing logsash connection

hi there

let me subscribe my scenario first.
i ship app logs using log4net SocketAppender via TCP to logstash svc.
here, sometimes i need to restart logstash service if my config has some changes.
in that time, application losing logstash connection once logstash svc restart.

my question is that how to keep application logs while logstash svc restarting...
and how to get auto connection after logstash svc restarting.

is that possible?

any idea would be appreciated.

Hi,

In you application you need to make sure you test your connection on a regular basis. According to the log4net-socket-appender git (do not know if this is the orginal soure) you can specify such settings...

Paul.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.