Skip to content

Commit fa2b4db

Browse files
DanielMcAsseysaghul
authored andcommitted
jicofo, jigasi, jvb: fix SENTRY_DSN not being read
1 parent 42a2153 commit fa2b4db

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ services:
353353
- MAX_BRIDGE_PARTICIPANTS
354354
- OCTO_BRIDGE_SELECTION_STRATEGY
355355
- PROSODY_VISITORS_MUC_PREFIX
356-
- SENTRY_DSN="${JICOFO_SENTRY_DSN:-0}"
356+
- SENTRY_DSN
357357
- SENTRY_ENVIRONMENT
358358
- SENTRY_RELEASE
359359
- TZ
@@ -416,7 +416,7 @@ services:
416416
- JVB_XMPP_PORT
417417
- JVB_XMPP_SERVER
418418
- PUBLIC_URL
419-
- SENTRY_DSN="${JVB_SENTRY_DSN:-0}"
419+
- SENTRY_DSN
420420
- SENTRY_ENVIRONMENT
421421
- SENTRY_RELEASE
422422
- COLIBRI_REST_ENABLED

jicofo/rootfs/defaults/logging.properties

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
{{ if .Env.SENTRY_DSN | default "0" | toBool }}
1+
{{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
2+
3+
{{ if $SENTRY_DSN }}
24
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
35
{{ else }}
4-
handlers= java.util.logging.ConsoleHandler
6+
handlers=java.util.logging.ConsoleHandler
57
{{ end }}
68

79
java.util.logging.ConsoleHandler.level = ALL

jigasi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ services:
4848
- GC_CLIENT_ID
4949
- GC_CLIENT_CERT_URL
5050
- SHUTDOWN_REST_ENABLED
51-
- SENTRY_DSN="${JIGASI_SENTRY_DSN:-0}"
51+
- SENTRY_DSN
5252
- SENTRY_ENVIRONMENT
5353
- SENTRY_RELEASE
5454
- TZ

jigasi/rootfs/defaults/logging.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{{ if .Env.SENTRY_DSN | default "0" | toBool }}
1+
{{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
2+
3+
{{ if $SENTRY_DSN }}
24
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
35
{{ else }}
46
handlers=java.util.logging.ConsoleHandler

jvb/rootfs/defaults/logging.properties

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
{{ if .Env.SENTRY_DSN | default "0" | toBool }}
1+
{{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
2+
3+
{{ if $SENTRY_DSN }}
24
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
35
{{ else }}
4-
handlers= java.util.logging.ConsoleHandler
6+
handlers=java.util.logging.ConsoleHandler
57
{{ end }}
68

79
java.util.logging.ConsoleHandler.level = ALL

0 commit comments

Comments
 (0)