From d1ba4bc4ebae7c5b85aab272c31c1514905f2e55 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Fri, 12 Nov 2021 14:47:11 +1100 Subject: [PATCH] Downgrade overlapping segments from warning to info They were causing too much log noise --- common/common/segments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common/segments.py b/common/common/segments.py index ed26029..c81cee8 100644 --- a/common/common/segments.py +++ b/common/common/segments.py @@ -176,7 +176,7 @@ def get_best_segments(hours_path, start, end, allow_holes=True): # Overlap! This shouldn't happen, though it might be possible due to weirdness # if the stream drops then starts again quickly. We simply ignore the overlapping # segment and let the algorithm continue. - logging.warning("Overlapping segments: {} overlaps end of {}".format(segment, result[-1])) + logging.info("Overlapping segments: {} overlaps end of {}".format(segment, result[-1])) continue if result[-1].is_partial or prev_end < segment.start: # there's a gap between prev end and this start, so add a None