From 38ccc3a7a550a9d2d273a649cb66da93d817406e Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Fri, 1 Nov 2024 08:10:48 -0400 Subject: [PATCH] log args Signed-off-by: Vladimir Mandic --- launch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launch.py b/launch.py index 222c24fe2..8379a5d6d 100755 --- a/launch.py +++ b/launch.py @@ -164,7 +164,6 @@ def start_server(immediate=True, server=None): module_spec = importlib.util.spec_from_file_location('webui', 'webui.py') server = importlib.util.module_from_spec(module_spec) installer.log.debug(f'Starting module: {server}') - get_custom_args() module_spec.loader.exec_module(server) uvicorn = None if args.test: @@ -209,6 +208,7 @@ def main(): installer.log.info('Skipping GIT operations') installer.check_version() installer.log.info(f'Platform: {installer.print_dict(installer.get_platform())}') + installer.log.info(f'Args: {sys.argv[1:]}') if not args.skip_env: installer.set_environment() if args.uv: @@ -246,6 +246,7 @@ def main(): installer.log.warning(f'See log file for more details: {installer.log_file}') installer.extensions_preload(parser) # adds additional args from extensions args = installer.parse_args(parser) + get_custom_args() uv, instance = start_server(immediate=True, server=None) while True: