harbor/conf/log/rsyslog_docker.conf

7 lines
207 B
Plaintext
Raw Normal View History

# Rsyslog configuration file for docker.
template(name="DynaFile" type="string" string="/var/log/docker/%programname%.log")
if $programname != "rsyslogd" then {
action(type="omfile" dynaFile="DynaFile")
}