fix ingest log level

This commit is contained in:
Jonathan Baecker 2024-10-27 21:55:53 +01:00
parent 1b6b9a19aa
commit 054c71e7f6

View File

@ -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) { if ingest_is_running.load(Ordering::SeqCst) {