From 74191a3cec56a3ed23d886474a0377f3cbb99f1b Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 25 十二月 2024 16:16:05 +0800
Subject: [PATCH] log文件地址

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml |    2 +-
 pom.xml                                                                        |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml b/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml
index 8ef4a92..3050d38 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/application.yml
@@ -58,7 +58,7 @@
 
 logging:
   file:
-    name: @log.path@/iailab-model/log/${spring.application.name}.log # 日志文件名,全路径
+    name: @log.path@/log/${spring.application.name}.log # 日志文件名,全路径
   level:
     org:
       springframework:
diff --git a/pom.xml b/pom.xml
index 7cda171..af5d19c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,7 +120,7 @@
                 <nacos.username>nacos</nacos.username>
                 <nacos.password>nacos</nacos.password>
                 <nacos.metadata.version>1.0.0</nacos.metadata.version>
-                <log.path>D:\DLUT\iailab-plat</log.path>
+                <log.path>D:/DLUT/iailab-plat</log.path>
                 <logstash.address>127.0.0.1:4560</logstash.address>
                 <deploy.server>172.16.216.132</deploy.server>
             </properties>
@@ -140,7 +140,7 @@
                 <nacos.username>nacos</nacos.username>
                 <nacos.password>nacos</nacos.password>
                 <nacos.metadata.version>1.0.0</nacos.metadata.version>
-                <log.path>D:/iailab/logs</log.path>
+                <log.path>.</log.path>
                 <logstash.address>127.0.0.1:4560</logstash.address>
                 <deploy.server>172.16.59.105</deploy.server>
             </properties>
@@ -156,7 +156,7 @@
                 <nacos.username>nacos</nacos.username>
                 <nacos.password>nacos</nacos.password>
                 <nacos.metadata.version>1.0.0</nacos.metadata.version>
-                <log.path>D:/iailab/logs</log.path>
+                <log.path>.</log.path>
                 <logstash.address>127.0.0.1:4560</logstash.address>
                 <deploy.server>10.88.4.131</deploy.server>
             </properties>

--
Gitblit v1.9.3