docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker [2022/01/31 11:23] tmaierdocker [2022/01/31 11:28] (current) tmaier
Line 82: Line 82:
 # 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 {
Line 103: Line 103:
 </code> </code>
  
-Restart `rsyslog``dockerdaemon 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".
  • docker.1643624607.txt.gz
  • Last modified: 2022/01/31 11:23
  • by tmaier