diff --git a/playbooks/roles/install-docker/files/98-docker.conf b/playbooks/roles/install-docker/files/98-docker.conf index ec13b86b65..165dde567d 100644 --- a/playbooks/roles/install-docker/files/98-docker.conf +++ b/playbooks/roles/install-docker/files/98-docker.conf @@ -1,4 +1,7 @@ # Create a template for the target log file $template CUSTOM_LOGS,"/var/log/containers/%programname%.log" -if $programname startswith 'docker-' then ?CUSTOM_LOGS +if $programname startswith 'docker-' then { + ?CUSTOM_LOGS + stop +}