This is an automated email from the ASF dual-hosted git repository.
xingfudeshi pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push:
new 9d74553046 optimize: namingserver log output (#6667)
9d74553046 is described below
commit 9d74553046afcaea1791f6adb0cedebad0b809b0
Author: funkye <[email protected]>
AuthorDate: Fri Jul 12 14:37:24 2024 +0800
optimize: namingserver log output (#6667)
---
changes/en-us/2.x.md | 1 +
changes/zh-cn/2.x.md | 1 +
distribution/release-seata-namingserver.xml | 2 +-
namingserver/src/main/resources/logback/file-appender.xml | 2 ++
4 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 631a19bef9..3acfe9df7f 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -25,6 +25,7 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6640](https://github.com/apache/incubator-seata/pull/6640)] modify
codecov config
- [[#6640](https://github.com/apache/incubator-seata/pull/6648)] add license
header
- [[#6654](https://github.com/apache/incubator-seata/pull/6654)] add
Namingserver package module
+- [[#6667](https://github.com/apache/incubator-seata/pull/6667)] optimize
Namingserver log output
### refactor:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 92790fe5f5..52f808c202 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -25,6 +25,7 @@
- [[#6534](https://github.com/apache/incubator-seata/pull/6534)] 优化: 发送异步响应
- [[#6534](https://github.com/apache/incubator-seata/pull/6648)] 增加license
header信息
- [[#6654](https://github.com/apache/incubator-seata/pull/6654)]
增加Namingserver打包功能
+- [[#6667](https://github.com/apache/incubator-seata/pull/6667)]
优化Namingserver日志输出
### refactor:
diff --git a/distribution/release-seata-namingserver.xml
b/distribution/release-seata-namingserver.xml
index c3bd81801f..b5f85bb32b 100644
--- a/distribution/release-seata-namingserver.xml
+++ b/distribution/release-seata-namingserver.xml
@@ -66,7 +66,7 @@
<destName>seata-namingserver.jar</destName>
</file>
<file>
- <source>../server/src/main/resources/logback-spring.xml</source>
+
<source>../namingserver/src/main/resources/logback-spring.xml</source>
<outputDirectory>conf/</outputDirectory>
</file>
<file>
diff --git a/namingserver/src/main/resources/logback/file-appender.xml
b/namingserver/src/main/resources/logback/file-appender.xml
index 39d7f99ed1..e06bc32f39 100644
--- a/namingserver/src/main/resources/logback/file-appender.xml
+++ b/namingserver/src/main/resources/logback/file-appender.xml
@@ -23,6 +23,8 @@
defaultValue="${user.home}/logs/seata"/>
<springProperty name="FILE_LOG_PATTERN" source="logging.pattern.file"
defaultValue="%d{yyyy-MM-dd HH:mm:ss.SSS} %5p --- [%t]
[%logger] [%M] [%X{X-TX-XID:-}]: %m%n%wEx2"/>
+ <springProperty name="RPC_PORT" source="server.port"
+ defaultValue="8081"/>
<!--ALL-->
<appender name="FILE_ALL"
class="ch.qos.logback.core.rolling.RollingFileAppender">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]