harbor/Deploy/log/rsyslog_docker.conf
2016-02-01 19:59:10 +08:00

7 lines
216 B
Plaintext

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