1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-01-11 18:38:14 +01:00
harbor/Deploy/log/rsyslog_docker.conf
2016-07-11 01:43:36 +08:00

9 lines
264 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
if $programname != "rsyslogd" then -?DynaFile