mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
[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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user