install-docker: stop duplicated rsyslog logs
I missed a "stop" command in the rsyslogd capture introduced with I940a5b05057e832e2efad79d9a2ed5325020ed0c. This means logs were also falling though and being put into /var/log/syslog as well, which was not the intent. Add the stop command so the logs only go to the container logfile. Change-Id: I8c577fe259de68178404d74e0bea543691af7d87
This commit is contained in:
parent
662fd1feb9
commit
54a62d9aaf
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user