Skip to content

Commit

Permalink
Change debug message about deleting db entries to warning (#11780)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Jun 6, 2024
1 parent 8cc170f commit d2787d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/record/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2787d4

Please sign in to comment.