jicofo, jigasi, jvb: fix SENTRY_DSN not being read

pull/1657/head
Daniel McAssey 12 months ago committed by Saúl Ibarra Corretgé
parent 42a2153a15
commit fa2b4db2d1
  1. 4
      docker-compose.yml
  2. 6
      jicofo/rootfs/defaults/logging.properties
  3. 2
      jigasi.yml
  4. 4
      jigasi/rootfs/defaults/logging.properties
  5. 6
      jvb/rootfs/defaults/logging.properties

@ -353,7 +353,7 @@ services:
- MAX_BRIDGE_PARTICIPANTS - MAX_BRIDGE_PARTICIPANTS
- OCTO_BRIDGE_SELECTION_STRATEGY - OCTO_BRIDGE_SELECTION_STRATEGY
- PROSODY_VISITORS_MUC_PREFIX - PROSODY_VISITORS_MUC_PREFIX
- SENTRY_DSN="${JICOFO_SENTRY_DSN:-0}" - SENTRY_DSN
- SENTRY_ENVIRONMENT - SENTRY_ENVIRONMENT
- SENTRY_RELEASE - SENTRY_RELEASE
- TZ - TZ
@ -416,7 +416,7 @@ services:
- JVB_XMPP_PORT - JVB_XMPP_PORT
- JVB_XMPP_SERVER - JVB_XMPP_SERVER
- PUBLIC_URL - PUBLIC_URL
- SENTRY_DSN="${JVB_SENTRY_DSN:-0}" - SENTRY_DSN
- SENTRY_ENVIRONMENT - SENTRY_ENVIRONMENT
- SENTRY_RELEASE - SENTRY_RELEASE
- COLIBRI_REST_ENABLED - COLIBRI_REST_ENABLED

@ -1,7 +1,9 @@
{{ if .Env.SENTRY_DSN | default "0" | toBool }} {{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
{{ if $SENTRY_DSN }}
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 }}
java.util.logging.ConsoleHandler.level = ALL java.util.logging.ConsoleHandler.level = ALL

@ -48,7 +48,7 @@ services:
- GC_CLIENT_ID - GC_CLIENT_ID
- GC_CLIENT_CERT_URL - GC_CLIENT_CERT_URL
- SHUTDOWN_REST_ENABLED - SHUTDOWN_REST_ENABLED
- SENTRY_DSN="${JIGASI_SENTRY_DSN:-0}" - SENTRY_DSN
- SENTRY_ENVIRONMENT - SENTRY_ENVIRONMENT
- SENTRY_RELEASE - SENTRY_RELEASE
- TZ - TZ

@ -1,4 +1,6 @@
{{ if .Env.SENTRY_DSN | default "0" | toBool }} {{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
{{ if $SENTRY_DSN }}
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

@ -1,7 +1,9 @@
{{ if .Env.SENTRY_DSN | default "0" | toBool }} {{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
{{ if $SENTRY_DSN }}
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 }}
java.util.logging.ConsoleHandler.level = ALL java.util.logging.ConsoleHandler.level = ALL

Loading…
Cancel
Save