From 16a60481ef2139473b21ed97d17fccd485e18eb7 Mon Sep 17 00:00:00 2001 From: Wangjunqi123 Date: Wed, 18 Oct 2023 15:33:59 +0800 Subject: [PATCH] cutdown the log file path --- conf/config_agent.yaml.templete | 2 +- conf/config_server.yaml.templete | 2 +- scripts/PilotGo-plugin-topology-agent.service | 2 +- scripts/PilotGo-plugin-topology-server.service | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/config_agent.yaml.templete b/conf/config_agent.yaml.templete index 7e2d41e..ffebdbc 100644 --- a/conf/config_agent.yaml.templete +++ b/conf/config_agent.yaml.templete @@ -6,6 +6,6 @@ PilotGo: log: level: debug driver: file # 可选stdout和file。stdout:输出到终端控制台;file:输出到path下的指定文件。 - path: /opt/PilotGo/plugin/topology/agent/log/PilotGo/PilotGo-plugin-topology-agent.log + path: /opt/PilotGo/plugin/topology/agent/log/topoagent.log max_file: 1 max_size: 10485760 diff --git a/conf/config_server.yaml.templete b/conf/config_server.yaml.templete index 0ac7526..ca3fac7 100644 --- a/conf/config_server.yaml.templete +++ b/conf/config_server.yaml.templete @@ -7,7 +7,7 @@ PilotGo: log: level: debug driver: file # 可选stdout和file。stdout:输出到终端控制台;file:输出到path下的指定文件。 - path: /opt/PilotGo/plugin/topology/server/log/PilotGo/PilotGo-plugin-topology-server.log + path: /opt/PilotGo/plugin/topology/server/log/toposerver.log max_file: 1 max_size: 10485760 arangodb: diff --git a/scripts/PilotGo-plugin-topology-agent.service b/scripts/PilotGo-plugin-topology-agent.service index 57a3b55..a1897cc 100644 --- a/scripts/PilotGo-plugin-topology-agent.service +++ b/scripts/PilotGo-plugin-topology-agent.service @@ -7,7 +7,7 @@ After=network-online.target Type=simple Restart=always RestartSec=3s -ExecStart=/usr/bin/PilotGo-plugin-topology-agent +ExecStart=/opt/PilotGo/plugin/topology/agent/PilotGo-plugin-topology-agent [Install] WantedBy=multi-user.target diff --git a/scripts/PilotGo-plugin-topology-server.service b/scripts/PilotGo-plugin-topology-server.service index 67526d7..3408f57 100644 --- a/scripts/PilotGo-plugin-topology-server.service +++ b/scripts/PilotGo-plugin-topology-server.service @@ -7,7 +7,7 @@ After=network-online.target Type=simple Restart=always RestartSec=3s -ExecStart=/usr/bin/PilotGo-plugin-topology-server +ExecStart=/opt/PilotGo/plugin/topology/server/PilotGo-plugin-topology-server [Install] WantedBy=multi-user.target -- Gitee