tokenbridge/deployment/roles/oracle/templates/31-oracle-docker.conf.j2
Przemyslaw Rzad 4281adfd95
UI logging (#131)
* 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.
2019-07-09 17:00:12 +02:00

12 lines
388 B
Django/Jinja

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