{"repo":"umputun/docker-logger","free":true,"listed":false,"github":"https://github.com/umputun/docker-logger","clone":"git clone https://github.com/umputun/docker-logger.git","description":"Logs collector for docker","language":"Go","stars":256,"topics":["logging","docker","syslog","logger","sidecar"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"docker-logger docker-logger is a small application collecting logs from other containers on the host that started without the -t option and configured with a logging driver that works with docker logs (journald and json-file). It can forward both stdout and stderr of containers to local, rotated files and/or to remote syslog. note: dkll includes all functionality of docker-logger, but adds server and cli client Install Copy provided docker-compose.yml, customize if needed and run with docker-compose up -d . By default docker-logger will collect all logs from containers and put it to ./logs directory. Customization All changes can be done via container's environment in docker-compose.yml or with command line Command line Environment Default Description --------------------- ------------------- --------------------------- ----------------------------------------------- --docker DOCKER HOST unix:///var/run/docker.sock docker host --syslog-host SYSLOG HOST 127.0.0.1:514 syslog remote host (udp4) --files LOG FILES No enable logging to files --syslog LOG SYSLOG No enable logging to syslog --max-size MAX SIZE 10 size of log triggering rotation (MB) --max-files MAX FILES 5 number of rotated files to retain --mix-err MIX ERR false send error to std output log file --max-age MAX AGE 30 maximum number of days to retain --exclude EXCLUDE excluded container names, comma separated --include INCLUDE only included container names, comma separated --include-pattern INCLUDE PATTERN only includ","default_branch":null,"files":null,"tree":[],"storefront":"/r/umputun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/umputun/docker-logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}