blakeblackshear.frigate/frigate
deviant77 ed1897db71
Add log message when discarding recording segments in cache (#3439)
* Add log message when discarding recording segments in cache

Currently Frigate silently discards recording segments in cache if there's more than "keep_count" for a camera, which can happen on high load/busy/slow systems.
This results in recording segments being lost with no apparent cause in the logs (even when set to debug).
This PR adds a warning log entry when discarding segments, in the same way as discarding corrupted segments

* Add explanatory warning and properly format cache_path warning

* lint fixes

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2022-07-19 07:24:44 -05:00
..
test Http tests (#3350) 2022-06-30 07:53:46 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
__main__.py Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
app.py Adjust threshold and contour_area with mqtt 2022-07-05 08:46:10 -05:00
birdseye.png fix logo used for birdseye 2021-10-05 18:40:46 -05:00
config.py update stimeout to timeout 2022-07-05 11:55:55 -05:00
const.py add endpoint to submit to plus 2022-04-10 09:11:16 -05:00
edgetpu.py Modernizing Typing 2022-04-17 08:55:38 -05:00
events.py lint fixes 2022-04-16 09:08:10 -05:00
http.py Http tests (#3350) 2022-06-30 07:53:46 -05:00
log.py Add basic typing for multiple modules: 2022-04-15 07:01:43 -05:00
models.py type fixes 2022-04-18 06:52:13 -05:00
motion.py Adjust threshold and contour_area with mqtt 2022-07-05 08:46:10 -05:00
mqtt.py Reset motion to false on startup 2022-07-19 06:59:20 -05:00
mypy.ini Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
object_processing.py mqtt motion adjustments 2022-05-15 07:45:04 -05:00
objects.py cleanup print statements 2022-04-16 09:08:10 -05:00
output.py Allow birdseye to be overridden at the camera level (#3083) 2022-04-15 06:59:30 -05:00
plus.py read plus api key from addon options 2022-06-30 07:19:40 -05:00
record.py Add log message when discarding recording segments in cache (#3439) 2022-07-19 07:24:44 -05:00
stats.py Catch crash on no internet (#3246) 2022-05-26 10:04:33 -05:00
types.py Adjust threshold and contour_area with mqtt 2022-07-05 08:46:10 -05:00
util.py fix depreciated import from collections 2022-04-15 07:01:43 -05:00
video.py Adjust threshold and contour_area with mqtt 2022-07-05 08:46:10 -05:00
watchdog.py Typing: mypy fixes for 2022-04-17 08:55:38 -05:00
zeroconf.py Add basic typing for multiple modules: 2022-04-15 07:01:43 -05:00