diff --git a/bin/deploy.sh b/bin/deploy.sh
index 479303f69..935d4606b 100644
--- a/bin/deploy.sh
+++ b/bin/deploy.sh
@@ -26,6 +26,7 @@ JAVA_OPS="-Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$HE
# SkyWalking Agent 配置
export SW_AGENT_NAME=$SERVER_NAME
export SW_AGENT_COLLECTOR_BACKEND_SERVICES=192.168.0.84:11800
+export SW_GRPC_LOG_SERVER_HOST=192.168.0.84
export JAVA_AGENT=-javaagent:/work/skywalking/apache-skywalking-apm-bin/agent/skywalking-agent.jar
# 备份
diff --git a/src/main/resources/application-dev.yaml b/src/main/resources/application-dev.yaml
index 1ecf43d6a..526bf3d51 100644
--- a/src/main/resources/application-dev.yaml
+++ b/src/main/resources/application-dev.yaml
@@ -145,7 +145,7 @@ spring:
# 日志文件配置
logging:
file:
- path: ${user.home}/logs/ # 日志文件的路径
+ name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
--- #################### 芋道相关配置 ####################
diff --git a/src/main/resources/application-local.yaml b/src/main/resources/application-local.yaml
index 9c30bf9f5..8761a78a8 100644
--- a/src/main/resources/application-local.yaml
+++ b/src/main/resources/application-local.yaml
@@ -145,7 +145,6 @@ spring:
# 日志文件配置
logging:
file:
-# path: ${user.home}/logs/ # 日志文件的路径
name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
--- #################### 芋道相关配置 ####################
diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml
index fb75bc3b1..1d9bec6dc 100644
--- a/src/main/resources/logback-spring.xml
+++ b/src/main/resources/logback-spring.xml
@@ -4,8 +4,7 @@
-
-
+
@@ -51,7 +50,7 @@
-
+
${PATTERN_DEFAULT}
@@ -61,9 +60,8 @@
-
-
-
+
+