harbor/make/photon/log/rsyslog_docker.conf
2017-11-09 14:33:05 +08:00

9 lines
257 B
Plaintext

# Rsyslog configuration file for docker.
template(name="DynaFile" type="string"
string="/var/log/docker/%syslogtag:R,ERE,0,DFLT:[^[]*--end:secpath-replace%.log"
)
#if $programname == "docker" then ?DynaFile
if $programname != "rsyslogd" then -?DynaFile