From 71b3892d64fad284522df49b873e0c6890c5b237 Mon Sep 17 00:00:00 2001 From: Matthias Kesler Date: Sun, 3 Dec 2023 09:28:06 +0100 Subject: [PATCH] jicofo,jvb,jigasi: fix SENTRY_DSN cannot be defined --- jicofo/rootfs/defaults/logging.properties | 2 +- jigasi/rootfs/defaults/logging.properties | 2 +- jvb/rootfs/defaults/logging.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jicofo/rootfs/defaults/logging.properties b/jicofo/rootfs/defaults/logging.properties index 16a7e56..6fad54a 100644 --- a/jicofo/rootfs/defaults/logging.properties +++ b/jicofo/rootfs/defaults/logging.properties @@ -1,4 +1,4 @@ -{{ if .Env.SENTRY_DSN | default "0" | toBool }} +{{ if .Env.SENTRY_DSN }} handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler {{ else }} handlers= java.util.logging.ConsoleHandler diff --git a/jigasi/rootfs/defaults/logging.properties b/jigasi/rootfs/defaults/logging.properties index b52000a..d7d0da2 100644 --- a/jigasi/rootfs/defaults/logging.properties +++ b/jigasi/rootfs/defaults/logging.properties @@ -1,4 +1,4 @@ -{{ if .Env.SENTRY_DSN | default "0" | toBool }} +{{ if .Env.SENTRY_DSN }} handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler {{ else }} handlers=java.util.logging.ConsoleHandler diff --git a/jvb/rootfs/defaults/logging.properties b/jvb/rootfs/defaults/logging.properties index 4b67430..e99f245 100644 --- a/jvb/rootfs/defaults/logging.properties +++ b/jvb/rootfs/defaults/logging.properties @@ -1,4 +1,4 @@ -{{ if .Env.SENTRY_DSN | default "0" | toBool }} +{{ if .Env.SENTRY_DSN }} handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler {{ else }} handlers= java.util.logging.ConsoleHandler