harbor/make/photon/log/rsyslog_docker.conf

9 lines
257 B
Plaintext
Raw Normal View History

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