Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 341 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 341 Bytes

docker-rsyslogd

Add docker/local storage to keep your log files.

Based on alpine distribution ... my favorite 'lite' distrib for docker.

docker run -it --rm -v rsyslog:/var/log/rsyslog docker-syslog

You need to gzip them:

find -mtime +1 /var/log/rsyslog -name "*.log" -exec gzip {} \;