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 10:32] 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 102: Line 102:
 } }
 </code> </code>
 +
 +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.1643621571.txt.gz
  • Last modified: 2022/01/31 10:32
  • by tmaier