浏览代码

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()