You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeffrey Paul 87fb0822eb Update '' 3 months ago
root/etc fix startup bug due to stale pidfile 3 months ago
.drone.yml think this might work, time to begin testing 11 months ago
Dockerfile use standard distro mirrors 3 months ago
Makefile think this might work, time to begin testing 11 months ago Update '' 3 months ago kick off ci 11 months ago


Build Status

Container to run logspout + rsyslog and ingest docker logs and write them to disk as json.

Use Case

I have a single box that runs a bunch of containers, and I want to log all those containers to datestamped logfiles as json.

All of the other ways of commonly doing this involve 47 moving parts, so I made this container. It uses logspout to ingest, and feeds into an rsyslog in the same container, which then writes them to disk as json.

Figuring out how to use them is another matter; at least now they’re saved in a way that is easy to tarball up and compress and scp somewhere else on a daily cronjob.


docker \
    run \
    -d \
    --restart always \
    -v /srv/z/archive/logs/current:/var/logs \
    -v /var/run/docker.sock:/var/run/docker.sock \