4281adfd95
* Introduced logging task for the ui * Do not update repo to allow multiple apps * Setup logging first * Different template names * Separate docker logging config * Removed duplication * Common logging task. * Tests. * Lint. * Commented out syslog server port for ui * Testing file permissions.
12 lines
365 B
Django/Jinja
12 lines
365 B
Django/Jinja
$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
|