Skip to content

Syslog daemon (with named pipes support) written in golang (for eg. usage in docker images)

License

Notifications You must be signed in to change notification settings

webdevops/go-syslogd

Repository files navigation

go-syslogd

GitHub release license Build Status Github All Releases Github Releases

Syslog daemon written in golang which also provides named pipes (FIFO)

This daemon will collect written logs and syslog messages and writes them to STDOUT and STDERR (eg. for usage in Docker)

Inspired by https://github.com/abrander/logpipe

Usage

Usage:
  go-syslogd [OPTIONS]

Application Options:
  -c, --configuration= Configuration file (yml) (default: /etc/go-syslog.yml)
  -V, --version        show version and exit
      --dumpversion    show only version number and exit

Help Options:
  -h, --help           Show this help message

Configuration

see etc/go-syslog.yml for an example.

Installation

GOSYSLOGD_VERSION=0.2.1 \
&& wget -O /etc/go-syslog.yml https://raw.githubusercontent.com/webdevops/go-syslogd/master/etc/go-syslog.yml \
&& wget -O /usr/local/bin/go-syslogd https://github.com/webdevops/go-syslogd/releases/download/GOSYSLOGD_VERSION/go-syslogd-64-linux \
&& chmod +x /usr/local/bin/go-syslogd

Docker images

Image Description
webdevops/go-syslogd:latest Latest release, binary only
webdevops/go-syslogd:master Current development version in branch master, with golang runtime