harbor/make/common/log/rsyslog_docker.conf

9 lines
264 B
Plaintext
Raw Normal View History

2016-02-01 12:59:10 +01:00
# Rsyslog configuration file for docker.
template(name="DynaFile" type="string"
string="/var/log/docker/%$now%/%syslogtag:R,ERE,0,DFLT:[^[]*--end:secpath-replace%.log"
)
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