From 054c71e7f651ed6e657d8cecfc53a9507095988f Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Sun, 27 Oct 2024 21:55:53 +0100 Subject: [PATCH] fix ingest log level --- engine/src/player/output/hls.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/src/player/output/hls.rs b/engine/src/player/output/hls.rs index 18766872..8c5c801b 100644 --- a/engine/src/player/output/hls.rs +++ b/engine/src/player/output/hls.rs @@ -138,7 +138,11 @@ fn ingest_to_hls_server(manager: ChannelManager) -> Result<(), ProcessError> { } } - log_line(&line, &config.logging.ffmpeg_level); + if ingest_is_running.load(Ordering::SeqCst) { + log_line(&line, &config.logging.ingest_level); + } else { + log_line(&line, &config.logging.ffmpeg_level); + } } if ingest_is_running.load(Ordering::SeqCst) {