Small syslog server written in Java. Useful for testing, small installations or for forwarding messages to other logging solutions. Accepts RFC-3164 (BSD), RFC-5424 and GELF log messages on a configurable port, UDP and/or TCP. https://github.com/mnellemann/syslogd
Go to file
Mark Nellemann e1b56b3cc1 Cleanup. 2020-12-01 13:43:36 +01:00
gradle/wrapper Initial import 2020-09-22 20:33:22 +02:00
src Cleanup. 2020-12-01 13:43:36 +01:00
.editorconfig Initial import 2020-09-22 20:33:22 +02:00
.gitattributes Initial import 2020-09-22 20:33:22 +02:00
.gitignore Cleanup. 2020-12-01 13:43:36 +01:00
LICENSE Add APACHE-2.0 license. 2020-09-22 20:45:16 +02:00
README.md Add usage help to README. 2020-09-23 14:43:40 +02:00
bitbucket-pipelines.yml Fix dynamic version lookup. 2020-10-07 15:09:59 +02:00
build.gradle Cleanup. 2020-12-01 13:43:36 +01:00
gradle.properties Cleanup. 2020-12-01 13:43:36 +01:00
gradlew Initial import 2020-09-22 20:33:22 +02:00
gradlew.bat Initial import 2020-09-22 20:33:22 +02:00
settings.gradle Initial import 2020-09-22 20:33:22 +02:00

README.md

Syslog Daemon

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. The default syslog port (514) requires you to run syslogd as root / administrator. If you do not with to do so, you can choose a port number (with the -p flag) above 1024.

Usage Instructions

  • Install the syslogd package (.deb or .rpm) from downloads or compile from source.
  • Run bin/syslogd, use the -h option for help :)
Usage: syslogd [-hV] [--[no-]tcp] [--[no-]udp] [--rfc3164] [-p=<port>]
Simple syslog server that prints messages to stdout.
  -h, --help          Show this help message and exit.
      --[no-]tcp      Listen on TCP, true by default.
      --[no-]udp      Listen on UDP, true by default.
  -p, --port=<port>   Listening port, 514 (privileged) by default.
      --rfc3164       Parse RFC3164 syslog message, RFC5424 by default.
  -V, --version       Print version information and exit.