aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/integration/jvb
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-01-31 15:47:01 +0100
committerQuentin Dufour <quentin@dufour.io>2021-01-31 15:47:01 +0100
commita3f62d1f30e278192b9e36ca007758e686a56ab2 (patch)
tree5bb25bfe293b952af5803cefaf44277d138401d6 /app/jitsi/integration/jvb
parent09e1e641a7d60dbe0c7a91ac3507621ebb8a8802 (diff)
downloadinfrastructure-a3f62d1f30e278192b9e36ca007758e686a56ab2.tar.gz
infrastructure-a3f62d1f30e278192b9e36ca007758e686a56ab2.zip
Overide logging + some doc to debug java processes
Diffstat (limited to 'app/jitsi/integration/jvb')
-rw-r--r--app/jitsi/integration/jvb/logging.properties51
-rw-r--r--app/jitsi/integration/jvb/videobridge.conf2
2 files changed, 52 insertions, 1 deletions
diff --git a/app/jitsi/integration/jvb/logging.properties b/app/jitsi/integration/jvb/logging.properties
new file mode 100644
index 0000000..2850f23
--- /dev/null
+++ b/app/jitsi/integration/jvb/logging.properties
@@ -0,0 +1,51 @@
+handlers= java.util.logging.ConsoleHandler
+#handlers= java.util.logging.ConsoleHandler, com.agafua.syslog.SyslogHandler
+#handlers= java.util.logging.ConsoleHandler, io.sentry.jul.SentryHandler
+
+java.util.logging.ConsoleHandler.level = ALL
+java.util.logging.ConsoleHandler.formatter = org.jitsi.utils.logging2.JitsiLogFormatter
+
+net.java.sip.communicator.util.ScLogFormatter.programname=JVB
+
+#.level=INFO # default
+.level=FINE
+
+# Added by quentin
+#org.jitsi.videobridge.ice.level=FINE
+#org.ice4j.level=FINE
+org.ice4j.stack.Connector=FINEST
+org.jitsi.videobridge.transport.ice=FINEST
+
+org.jitsi.videobridge.xmpp.ComponentImpl.level=FINE
+
+# All of the INFO level logs from MediaStreamImpl are unnecessary in the context of jitsi-videobridge.
+org.jitsi.impl.neomedia.MediaStreamImpl.level=WARNING
+
+# Syslog (uncomment handler to use)
+com.agafua.syslog.SyslogHandler.transport = udp
+com.agafua.syslog.SyslogHandler.facility = local0
+com.agafua.syslog.SyslogHandler.port = 514
+com.agafua.syslog.SyslogHandler.hostname = localhost
+com.agafua.syslog.SyslogHandler.formatter = org.jitsi.utils.logging2.JitsiLogFormatter
+com.agafua.syslog.SyslogHandler.escapeNewlines = false
+
+# Sentry (uncomment handler to use)
+io.sentry.jul.SentryHandler.level=WARNING
+
+# to disable double timestamps in syslog uncomment next line
+#net.java.sip.communicator.util.ScLogFormatter.disableTimestamp=true
+
+# time series logging
+java.util.logging.SimpleFormatter.format= %5$s%n
+java.util.logging.FileHandler.level = ALL
+java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
+java.util.logging.FileHandler.pattern = /tmp/jvb-series.log
+java.util.logging.FileHandler.limit = 200000000
+java.util.logging.FileHandler.count = 1
+java.util.logging.FileHandler.append = false
+
+timeseries.level=OFF
+timeseries.org.jitsi.videobridge.cc.allocation.BitrateAllocator.level=ALL
+timeseries.useParentHandlers = false
+# time series logging is disabled by default. Uncomment the line below to enable it.
+#timeseries.handlers = java.util.logging.FileHandler
diff --git a/app/jitsi/integration/jvb/videobridge.conf b/app/jitsi/integration/jvb/videobridge.conf
index edf73bb..b40dec6 100644
--- a/app/jitsi/integration/jvb/videobridge.conf
+++ b/app/jitsi/integration/jvb/videobridge.conf
@@ -233,7 +233,7 @@ videobridge {
enabled = true
# The port to bind to for ICE/TCP.
- port = 8080
+ port = 8089
# An optional additional port to advertise.
# mapped-port = 8443