diff --git a/Deploy/log/rsyslog_docker.conf b/Deploy/log/rsyslog_docker.conf index 4c417b054..ce565c705 100644 --- a/Deploy/log/rsyslog_docker.conf +++ b/Deploy/log/rsyslog_docker.conf @@ -3,5 +3,6 @@ template(name="DynaFile" type="string" string="/var/log/docker/%$now%/%syslogtag:R,ERE,0,DFLT:[^[]*--end:secpath-replace%.log" ) +#if $programname == "docker" then ?DynaFile +if $programname != "rsyslogd" then -?DynaFile -if $programname == "docker" then ?DynaFile \ No newline at end of file