Fix Jitsi logging.properties conditional being interpreted as Jinja code

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1464
development
Slavi Pantaleev 3 years ago
parent 0f569df629
commit 60592fd6a8

@ -1,8 +1,10 @@
{% raw %}
{{ if .Env.SENTRY_DSN | default "0" | toBool }} {{ if .Env.SENTRY_DSN | default "0" | toBool }}
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
{{ else }} {{ else }}
handlers= java.util.logging.ConsoleHandler handlers= java.util.logging.ConsoleHandler
{{ end }} {{ end }}
{% endraw %}
java.util.logging.ConsoleHandler.level = ALL java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter

@ -1,8 +1,10 @@
{% raw %}
{{ if .Env.SENTRY_DSN | default "0" | toBool }} {{ if .Env.SENTRY_DSN | default "0" | toBool }}
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
{{ else }} {{ else }}
handlers= java.util.logging.ConsoleHandler handlers= java.util.logging.ConsoleHandler
{{ end }} {{ end }}
{% endraw %}
java.util.logging.ConsoleHandler.level = ALL java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter

Loading…
Cancel
Save