Basic syslog server written in Java. All received messages are written to stdout. The syslog server is able to listen on UDP and/or TCP and parses syslog messages in either RFC5424 or RFC3164 (BSD) format.

https://bitbucket.org/mnellemann/syslogd