
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
8 lines
176 B
Plaintext
8 lines
176 B
Plaintext
# Create a template for the target log file
|
|
$template CUSTOM_LOGS,"/var/log/containers/%programname%.log"
|
|
|
|
if $programname startswith 'docker-' then {
|
|
?CUSTOM_LOGS
|
|
stop
|
|
}
|