ryantenney / log4j-redis-appender

log4j appender writing straight to Redis
Other
33 stars 26 forks source link

Reconnect on socket closed #4

Closed larsla closed 10 years ago

larsla commented 10 years ago

When sending logs to Redis instances behind a loadbalancer, sometimes it closes the socket when balancing the connections. This small patch does a reconnect on such an event.

larsla commented 10 years ago

This didn't actually solve the problem. I will create a new pull request with the real fix.