update rsyslog config

This commit is contained in:
Tan Jiang 2016-07-11 01:42:41 +08:00
parent 30a93218c2
commit 5416a2b773

View File

@ -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