blakeblackshear.frigate/frigate
gtsiam 1c24f0054a
Make logging code self-contained (#13785)
* Make logging code self-contained.

Rewrite logging code to use python's builting QueueListener, effectively
moving the logging process into a thread of the Frigate app.

Also, wrap this behaviour in a easy-to-use context manager to encourage
some consistency.

* Fixed typing errors

* Remove todo note from log filter

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Do not access log record's msg directly

* Clear all root handlers before starting app

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2024-09-17 08:26:25 -05:00
..
api Explore view fixes (#13726) 2024-09-13 14:44:31 -06:00
comms Make notifications toggleable via MQTT (#13657) 2024-09-10 11:24:44 -06:00
detectors Support ONNX model caching (#13780) 2024-09-16 18:18:11 -06:00
embeddings write prompts for genai at the camera level (#13767) 2024-09-16 08:46:11 -06:00
events Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
genai write prompts for genai at the camera level (#13767) 2024-09-16 08:46:11 -06:00
images
motion
output Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
ptz check for onvif movement support before attempting movement (#13771) 2024-09-16 10:46:35 -06:00
record Configurable ffmpeg (#13722) 2024-09-13 15:14:51 -05:00
review Limit shm frame count (#12363) 2024-09-03 10:22:30 -06:00
stats
test Refactor recordings retention to be based on review items (#13355) 2024-09-02 07:22:53 -06:00
track
util Ffmpeg cleanup (#13737) 2024-09-14 07:03:39 -06:00
__init__.py
__main__.py Make logging code self-contained (#13785) 2024-09-17 08:26:25 -05:00
app.py Make logging code self-contained (#13785) 2024-09-17 08:26:25 -05:00
config.py write prompts for genai at the camera level (#13767) 2024-09-16 08:46:11 -06:00
const.py Update ffmpeg to 7.0.2 (#13578) 2024-09-05 18:27:32 -06:00
ffmpeg_presets.py Ffmpeg 6 (#13754) 2024-09-15 11:42:52 -06:00
log.py Make logging code self-contained (#13785) 2024-09-17 08:26:25 -05:00
models.py
mypy.ini
object_detection.py Always close connection to shm frame after detection (#13766) 2024-09-16 07:56:20 -06:00
object_processing.py Fix detections logic (#13781) 2024-09-16 18:23:10 -05:00
plus.py
storage.py
timeline.py
types.py
video.py Improve handling of empty frames (#13651) 2024-09-10 08:39:37 -05:00
watchdog.py