server: log launch arguments:
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
5585884d26
commit
ca595163bb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue