harbor/make/photon/log/rsyslog_docker.conf

9 lines
257 B
Plaintext
Raw Normal View History

2016-02-01 11:59:10 +00:00
# Rsyslog configuration file for docker.
template(name="DynaFile" type="string"
2017-11-08 05:07:27 +00:00
string="/var/log/docker/%syslogtag:R,ERE,0,DFLT:[^[]*--end:secpath-replace%.log"
2016-02-01 11:59:10 +00:00
)
2016-07-10 17:42:41 +00:00
#if $programname == "docker" then ?DynaFile
if $programname != "rsyslogd" then -?DynaFile
2016-02-01 11:59:10 +00:00