From f83d4a58dd947bde98b107912f9bcaf74895c252 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 13 Sep 2021 22:02:23 -0500 Subject: [PATCH] add version to the logs on startup --- frigate/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frigate/app.py b/frigate/app.py index e73c56c6f..c1a9b6f48 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -20,14 +20,14 @@ from frigate.events import EventCleanup, EventProcessor from frigate.http import create_app from frigate.log import log_process, root_configurer from frigate.models import Event, Recordings -from frigate.mqtt import create_mqtt_client, MqttSocketRelay +from frigate.mqtt import MqttSocketRelay, create_mqtt_client from frigate.object_processing import TrackedObjectProcessor from frigate.output import output_frames from frigate.record import RecordingCleanup, RecordingMaintainer from frigate.stats import StatsEmitter, stats_init +from frigate.version import VERSION from frigate.video import capture_camera, track_camera from frigate.watchdog import FrigateWatchdog -from frigate.zeroconf import broadcast_zeroconf logger = logging.getLogger(__name__) @@ -315,6 +315,7 @@ class FrigateApp: def start(self): self.init_logger() + logger.info(f"Starting Frigate ({VERSION})") try: try: self.init_config()