docker-ubuntu-stack
docker-ubuntu-stack copied to clipboard
Replace rsyslogd with s6-log
did you know that you did a big fail probally in your base img with using rsyslogd=?
You got already s6 so ! http://skarnet.org/software/s6/s6-log.html
read up The s6-log program
s6-log is a reliable logging program with automated log rotation, similar to daemontools' multilog, with full POSIX regular expression support.
it can replace syslogd
That's something I've been working on, just haven't had a lot of time for it.
I don't think it's really fair to call it a "big fail" though. The main reason I'm using rsyslog is for remote log forwarding. I have another container running Logstash, and I use rsyslog to send logs directly to logstash in real-time.
I do like the look for s6-log, since I don't have to screw around with logrotate, making sure I send the right signals to processes, etc. My main stumbling block is figuring out how to get those logs into Logstash (or another syslog server).
Renaming this issue to "replace rsyslogd with s6-log"
Ok ill work on the log transfer parts and will look that up for you.