소스 검색

try to cleanup some migration logging

Blake Blackshear 4 년 전
부모
커밋
5ad4017510
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      frigate/app.py

+ 1 - 0
frigate/app.py

@@ -115,6 +115,7 @@ class FrigateApp():
         self.db = SqliteExtDatabase(self.config.database.path)
 
         # Run migrations
+        del(logging.getLogger('peewee_migrate').handlers[:])
         router = Router(self.db)
         router.run()