[Fix] fix multi api server log dir (#3966)

* fix scheduler bug

* fix

* Update api_server.py

* Update multi_api_server.py

* [Fix]
This commit is contained in:
ltd0924
2025-09-10 13:48:17 +08:00
committed by GitHub
parent 7272afe3dc
commit a6b161b007

View File

@@ -51,7 +51,7 @@ def start_servers(server_count, server_args, ports, metrics_ports, controller_po
controller_port = int(controller_ports[i])
env = os.environ.copy()
env["FD_LOG_DIR"] = f"log_{i}"
env["FD_LOG_DIR"] = env.get("FD_LOG_DIR", "log") + f"/log_{i}"
cmd = [
sys.executable,
"-m",