mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 18:55:18 +01:00
9 lines
257 B
Plaintext
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
|
|
|