summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangkuan <[email protected]>2020-09-21 10:44:27 +0800
committerwangkuan <[email protected]>2020-09-21 10:44:27 +0800
commited8be84005d5fe13c4170fe003f126d4cd602320 (patch)
tree6c36441b6373b74078e15645fccd0cadee8c2a76
parent4c2e32a03d9be0770a4d4f6460bc6ffb4485c634 (diff)
配置文件更新
-rw-r--r--config/application.properties3
-rw-r--r--config/log4j2-dev.xml2
-rw-r--r--pom.xml4
-rw-r--r--src/main/resources/config/log4j2-dev.xml2
4 files changed, 5 insertions, 6 deletions
diff --git a/config/application.properties b/config/application.properties
index 3bca7ea..5ac7f6c 100644
--- a/config/application.properties
+++ b/config/application.properties
@@ -94,7 +94,6 @@ mybatis.typeAliasesPackage=com.mesa.reportservice.bean
mybatis.mapperLocations=classpath*:/mappers/*.xml
spring.application.name=galaxy_reort_service
management.endpoints.web.exposure.include=*
-management.metrics.tags.applica619
-tion=${spring.application.name}
+management.metrics.tags.application=${spring.application.name}
logging.config: ./config/log4j2-dev.xml
diff --git a/config/log4j2-dev.xml b/config/log4j2-dev.xml
index eeeeed1..1d4b967 100644
--- a/config/log4j2-dev.xml
+++ b/config/log4j2-dev.xml
@@ -13,7 +13,7 @@
<!-- 配置日志文件输出目录 -->
<Property name="LOG_HOME">./logs</Property>
<!-- 日志输出文件名 -->
- <property name="FILE_NAME">galaxy-qgw-service</property>
+ <property name="FILE_NAME">galaxy-report-service</property>
<!-- 日志格式化 -->
<property name="console_pattern_layout">
[%d{yyyy-MM-dd HH:mm:ss}] [%p] [Thread:%t] %l %x - %m%n
diff --git a/pom.xml b/pom.xml
index 7d140f9..3a65ce4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -238,10 +238,10 @@
<include>${project.build.finalName}.jar</include>
</resource>
- <!--<resource>
+ <resource>
<targetPath>/config</targetPath>
<directory>config</directory>
- </resource>-->
+ </resource>
</resources>
</configuration>
diff --git a/src/main/resources/config/log4j2-dev.xml b/src/main/resources/config/log4j2-dev.xml
index eeeeed1..1d4b967 100644
--- a/src/main/resources/config/log4j2-dev.xml
+++ b/src/main/resources/config/log4j2-dev.xml
@@ -13,7 +13,7 @@
<!-- 配置日志文件输出目录 -->
<Property name="LOG_HOME">./logs</Property>
<!-- 日志输出文件名 -->
- <property name="FILE_NAME">galaxy-qgw-service</property>
+ <property name="FILE_NAME">galaxy-report-service</property>
<!-- 日志格式化 -->
<property name="console_pattern_layout">
[%d{yyyy-MM-dd HH:mm:ss}] [%p] [Thread:%t] %l %x - %m%n