fix ingest log level
This commit is contained in:
parent
1b6b9a19aa
commit
054c71e7f6
@ -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);
|
log_line(&line, &config.logging.ffmpeg_level);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ingest_is_running.load(Ordering::SeqCst) {
|
if ingest_is_running.load(Ordering::SeqCst) {
|
||||||
info!(target: Target::file_mail(), channel = id; "Switch from live ingest to {}", config.processing.mode);
|
info!(target: Target::file_mail(), channel = id; "Switch from live ingest to {}", config.processing.mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user