TCP syslog protocol conforming to RFC 5424

I am trying using logback to send log messages to a remote syslog using TCP, and comply with RFC 5424 .

As far as I understand, loglog default syslog appender only handles UDP. So far I have found the logback-syslog4j library on github that handles TCP. But it does not seem customizable enough to send messages compatible with RFC 5424.

Is there any configuration / library that I missed, or should I write my own implementation?

+4
source share
1 answer

After several days of research, my best conclusion is that I should use log4j 2 instead.

Indeed, for the two functions I was looking for (TCP and RFC 5424), the patch was already ... ago! But he was never integrated into the master. (Also, I tried to collect more information about the developers mailing list , but never received a response.)

On the other hand, log4j 2 already has those functions ; and, as far as I can see, their community seems very reactive.

+2
source

All Articles