docker - 14.04.4 to 14.04.5 upgrade: rsyslog script stops working - Ask Ubuntu
the docker software (v1.10.2) run on ubuntu 14.04.4 system configured save logs syslog. specific log file every docker container, use following script:
# /etc/rsyslog.d/10-docker.conf # log docker container logs file per tag $template dockerlogs, "/var/log/docker/%syslogtag:r,ere,1,zero:.*docker/([^\[]+)--end%.log" if $programname == 'docker' -?dockerlogs & stop
unfortunately, after upgrading ubuntu 14.04.5, script stopped working. docker logs written /var/log/syslog , not specific log files in /var/log/docker more.
does know how fix this? in advance!
robert
Comments
Post a Comment