This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
docker [2022/01/31 11:23] – tmaier | docker [2022/01/31 11:28] (current) – tmaier |
---|
# 23: local7 | # 23: local7 |
if $syslogfacility == 23 then { | if $syslogfacility == 23 then { |
if $programname startswith "bitwarden-" then { | if $programname startswith "bw_" then { |
action(name="docker-containers-bitwarden" type="omfile" file="/var/log/docker/bitwarden.log" template="myFormat") | action(name="docker-containers-bitwarden" type="omfile" file="/var/log/docker/bitwarden.log" template="myFormat") |
} else { | } else { |
</code> | </code> |
| |
Restart `rsyslog`, `docker` daemon and then all containers to switch to the new driver. Otherwise this "Configured log driver does not support reads, enabling local file cache for container logs". | Restart rsyslog, the docker daemon and then all containers to switch to the new driver. Otherwise the docker daemon shows the following error message for the affected containers: "Configured log driver does not support reads, enabling local file cache for container logs". |