mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
Use global log queue
This commit is contained in:
parent
270d8f14c7
commit
9414a11df4
@ -45,7 +45,7 @@ class Process(BaseProcess):
|
||||
return self.__dict__["stop_event"]
|
||||
|
||||
def before_start(self) -> None:
|
||||
self.__log_queue = frigate.log.log_listener.queue
|
||||
self.__log_queue = frigate.log.log_queue
|
||||
self.logger = logging.getLogger(self.name)
|
||||
logging.basicConfig(handlers=[], force=True)
|
||||
logging.getLogger().addHandler(QueueHandler(self.__log_queue))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user