mirror of
https://github.com/vladmandic/automatic
synced 2026-09-14 18:48:43 +02:00
fix server restart issue
This commit is contained in:
@@ -297,6 +297,8 @@ def webui():
|
||||
|
||||
# override all loggers to use the same handlers as the main logger
|
||||
for logger in [logging.getLogger(name) for name in logging.root.manager.loggerDict]: # pylint: disable=no-member
|
||||
if logger.name.startswith('uvicorn'):
|
||||
continue
|
||||
logger.handlers = log.handlers
|
||||
|
||||
if cmd_opts.autolaunch and local_url is not None:
|
||||
|
||||
Reference in New Issue
Block a user