From d2787d43086cd53a3c5cace89116b255eeb1c3a0 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 6 Jun 2024 10:16:28 -0500 Subject: [PATCH] Change debug message about deleting db entries to warning (#11780) --- frigate/record/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 delete_db_entries_without_file(check_timestamp: float) -> bool: ] 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