Apply filter to libav.hls logging namespace (#75330)
This commit is contained in:
parent
4ceda65889
commit
2f92c47fe3
1 changed files with 4 additions and 3 deletions
|
@ -187,14 +187,15 @@ def filter_libav_logging() -> None:
|
|||
return logging.getLogger(__name__).isEnabledFor(logging.DEBUG)
|
||||
|
||||
for logging_namespace in (
|
||||
"libav.mp4",
|
||||
"libav.NULL",
|
||||
"libav.h264",
|
||||
"libav.hevc",
|
||||
"libav.hls",
|
||||
"libav.mp4",
|
||||
"libav.mpegts",
|
||||
"libav.rtsp",
|
||||
"libav.tcp",
|
||||
"libav.tls",
|
||||
"libav.mpegts",
|
||||
"libav.NULL",
|
||||
):
|
||||
logging.getLogger(logging_namespace).addFilter(libav_filter)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue