From fa1b7d0d696c44640f07d55eb22c97bfb2fd1db6 Mon Sep 17 00:00:00 2001 From: Juan Navarro Date: Thu, 6 Jun 2024 11:22:22 +0200 Subject: [PATCH] livekit.yaml: mediasoup logging parameters added Use same comment format for all logging params. Text is the same than comments in source code. --- community/livekit.yaml | 6 ++++-- pro/livekit.yaml | 28 +++++++++++++++++++++++----- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/community/livekit.yaml b/community/livekit.yaml index 2368fc4..6e60e7c 100644 --- a/community/livekit.yaml +++ b/community/livekit.yaml @@ -36,9 +36,11 @@ ingress: whip_base_url: http://localhost:8085/whip logging: # Logging level for the LiveKit server. - # Values: "debug", "info" (default), "warn", "error". + # Values: debug, info, warn, error. + # Default: info. level: info # Logging level for the Pion WebRTC engine. - # Values: "trace", "debug", "info", "warn", "error" (default). + # Values: trace, debug, info, warn, error. + # Default: error. pion_level: error diff --git a/pro/livekit.yaml b/pro/livekit.yaml index 1e26ec5..f75c33d 100644 --- a/pro/livekit.yaml +++ b/pro/livekit.yaml @@ -10,11 +10,27 @@ openvidu: # Values: pion, mediasoup engine: pion mediasoup: - # Contents of the DEBUG environment variable passed to mediasoup. - # More info: https://www.npmjs.com/package/debug + # Global toggle to enable debugging logs from mediasoup. + # In most debugging cases, using just an asterisk ("*") here is enough, + # but this can be fine-tuned for specific log levels. + # More info: https://mediasoup.org/documentation/v3/mediasoup/debugging/ + # Default: "" (empty). + # Overridden by the `DEBUG` env var, if it is set. debug: "" -# LiveKit configuration + # Logging level for logs generated by mediasoup. + # More info: https://mediasoup.org/documentation/v3/mediasoup/debugging/ + # Values: debug, warn, error, none. + # Default: error. + log_level: error + + # Comma-separated list of log tag names, for debugging. + # More info: https://mediasoup.org/documentation/v3/mediasoup/debugging/ + # Values: info, ice, dtls, rtp, srtp, rtcp, rtx, bwe, score, simulcast, svc, sctp, message. + # Default: [] (empty). + log_tags: [] + + # LiveKit configuration port: 7880 bind_addresses: - "" @@ -45,9 +61,11 @@ ingress: whip_base_url: http://localhost:8085/whip logging: # Logging level for the LiveKit server. - # Values: "debug", "info" (default), "warn", "error". + # Values: debug, info, warn, error. + # Default: info. level: info # Logging level for the Pion WebRTC engine. - # Values: "trace", "debug", "info", "warn", "error" (default). + # Values: trace, debug, info, warn, error. + # Default: error. pion_level: error