12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
|
$FileCreateMode 0644
|
||
|
template(name="DockerLogFileName_UI" type="list") {
|
||
|
constant(value="/var/log/docker/")
|
||
|
property(name="syslogtag" securepath="replace" regex.type="ERE" regex.submatch="1" regex.expression="ui_(.*)\\/[a-zA-Z0-9]+\\[")
|
||
|
constant(value="/docker.log")
|
||
|
}
|
||
|
|
||
|
if $programname startswith 'ui_' then \
|
||
|
?DockerLogFileName_UI
|
||
|
|
||
|
$FileCreateMode 0600
|