docker-ubuntu-stack icon indicating copy to clipboard operation
docker-ubuntu-stack copied to clipboard

Replace rsyslogd with s6-log

Open frank-dspeed opened this issue 10 years ago • 3 comments
trafficstars

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

frank-dspeed avatar Jan 21 '15 10:01 frank-dspeed

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).

jprjr avatar Jan 21 '15 15:01 jprjr

Renaming this issue to "replace rsyslogd with s6-log"

jprjr avatar Jan 21 '15 15:01 jprjr

Ok ill work on the log transfer parts and will look that up for you.

frank-dspeed avatar Jan 29 '15 10:01 frank-dspeed