Merge pull request #507 from reasonerjt/master

update rsyslog config
This commit is contained in:
Daniel Jiang 2016-07-11 02:15:46 +08:00 committed by GitHub
commit ad5a185066

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