From a3f62d1f30e278192b9e36ca007758e686a56ab2 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 31 Jan 2021 15:47:01 +0100 Subject: Overide logging + some doc to debug java processes --- app/jitsi/integration/jvb/logging.properties | 51 ++++++++++++++++++++++++++++ app/jitsi/integration/jvb/videobridge.conf | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 app/jitsi/integration/jvb/logging.properties (limited to 'app/jitsi/integration/jvb') 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 -- cgit v1.2.3