Skip to content

NVR with realtime local object detection for IP cameras

Change debug message about deleting db entries to warning (#11780)

Josh Hawkinsd2787d43086c
diff --git a/frigate/record/util.py b/frigate/record/util.py
index 7388c04df1..37a2b46457 100644
--- a/frigate/record/util.py
+++ b/frigate/record/util.py
@@ -65,7 +65,7 @@ def sync_recordings(limited: bool) -> None:
]
if float(len(recordings_to_delete)) / max(1, recordings.count()) > 0.5:
- logger.debug(
+ logger.warning(
f"Deleting {(float(len(recordings_to_delete)) / recordings.count()):2f}% of recordings DB entries, could be due to configuration error. Aborting..."
)
return False