Просмотр исходного кода

Jitsi update - sentry logging added

pull/1464/head
sakkiii 4 лет назад
Родитель
Сommit
55860bf38f
2 измененных файлов: 10 добавлений и 0 удалений
  1. +5
    -0
      roles/matrix-jitsi/templates/jicofo/logging.properties.j2
  2. +5
    -0
      roles/matrix-jitsi/templates/jvb/logging.properties.j2

+ 5
- 0
roles/matrix-jitsi/templates/jicofo/logging.properties.j2 Просмотреть файл

@@ -1,4 +1,8 @@
{{ if .Env.SENTRY_DSN | default "0" | toBool }}
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
{{ else }}
handlers= java.util.logging.ConsoleHandler
{{ end }}

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter
@@ -10,6 +14,7 @@ net.sf.level=SEVERE
net.java.sip.communicator.plugin.reconnectplugin.level=FINE
org.ice4j.level=SEVERE
org.jitsi.impl.neomedia.level=SEVERE
io.sentry.jul.SentryHandler.level=WARNING

# Do not worry about missing strings
net.java.sip.communicator.service.resources.AbstractResourcesService.level=SEVERE


+ 5
- 0
roles/matrix-jitsi/templates/jvb/logging.properties.j2 Просмотреть файл

@@ -1,4 +1,8 @@
{{ if .Env.SENTRY_DSN | default "0" | toBool }}
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
{{ else }}
handlers= java.util.logging.ConsoleHandler
{{ end }}

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = net.java.sip.communicator.util.ScLogFormatter
@@ -8,6 +12,7 @@ net.java.sip.communicator.util.ScLogFormatter.programname=JVB
.level=INFO

org.jitsi.videobridge.xmpp.ComponentImpl.level=FINE
io.sentry.jul.SentryHandler.level=WARNING

# All of the INFO level logs from MediaStreamImpl are unnecessary in the context of jitsi-videobridge.
org.jitsi.impl.neomedia.MediaStreamImpl.level=WARNING

Загрузка…
Отмена
Сохранить