server: log launch arguments:

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-12-29 20:03:30 -05:00
parent 5585884d26
commit ca595163bb
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 0 deletions

View File

@ -585,6 +585,7 @@ def main(from_package: bool = True) -> None:
else: else:
app_args["log_file"] = str(data_path.joinpath("logs/moonraker.log")) app_args["log_file"] = str(data_path.joinpath("logs/moonraker.log"))
app_args["python_version"] = sys.version.replace("\n", " ") app_args["python_version"] = sys.version.replace("\n", " ")
app_args["launch_args"] = " ".join([sys.executable] + sys.argv).strip()
app_args["msgspec_enabled"] = json_wrapper.MSGSPEC_ENABLED app_args["msgspec_enabled"] = json_wrapper.MSGSPEC_ENABLED
app_args["uvloop_enabled"] = EventLoop.UVLOOP_ENABLED app_args["uvloop_enabled"] = EventLoop.UVLOOP_ENABLED
log_manager = LogManager(app_args, startup_warnings) log_manager = LogManager(app_args, startup_warnings)