Преглед изворни кода

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