Merge pull request #814 from jb-alvarado/master

fix ingest log level
This commit is contained in:
jb-alvarado 2024-10-27 21:56:44 +01:00 committed by GitHub
commit 8ee18d5232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,8 +138,12 @@ fn ingest_to_hls_server(manager: ChannelManager) -> Result<(), ProcessError> {
}
}
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) {
info!(target: Target::file_mail(), channel = id; "Switch from live ingest to {}", config.processing.mode);