mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Clear all root handlers before starting app
This commit is contained in:
parent
3b72375b53
commit
fa73c86a85
@ -9,7 +9,13 @@ from frigate.app import FrigateApp
|
||||
|
||||
def main() -> None:
|
||||
faulthandler.enable()
|
||||
logging.basicConfig(level=logging.INFO, handlers=[])
|
||||
|
||||
# Clear all existing handlers.
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
handlers=[],
|
||||
force=True,
|
||||
)
|
||||
|
||||
threading.current_thread().name = "frigate"
|
||||
cli.show_server_banner = lambda *x: None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user