This is an automated email from the ASF dual-hosted git repository.

gaojun2048 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 2b4108367c [Improve][Log] Auto refresh log configuration (#6915)
2b4108367c is described below

commit 2b4108367c7484de7e3e68f1746a725ef9148983
Author: hailin0 <[email protected]>
AuthorDate: Wed May 29 11:06:20 2024 +0800

    [Improve][Log] Auto refresh log configuration (#6915)
---
 config/log4j2.properties                                               | 3 +++
 config/log4j2_client.properties                                        | 3 +++
 .../seatunnel-engine-examples/src/main/resources/log4j2.properties     | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/config/log4j2.properties b/config/log4j2.properties
index ca49814892..d7ff7f99a3 100644
--- a/config/log4j2.properties
+++ b/config/log4j2.properties
@@ -16,6 +16,9 @@
 # limitations under the License.
 
################################################################################
 
+# The minimum amount of time, in seconds, that must elapse before the file 
configuration is checked for changes.
+monitorInterval = 60
+
 property.file_path = ${sys:seatunnel.logs.path:-/tmp/seatunnel/logs}
 property.file_name = ${sys:seatunnel.logs.file_name:-seatunnel}
 property.file_split_size = 100MB
diff --git a/config/log4j2_client.properties b/config/log4j2_client.properties
index 9b491c24e8..0c751b1509 100644
--- a/config/log4j2_client.properties
+++ b/config/log4j2_client.properties
@@ -16,6 +16,9 @@
 # limitations under the License.
 
################################################################################
 
+# The minimum amount of time, in seconds, that must elapse before the file 
configuration is checked for changes.
+monitorInterval = 60
+
 property.file_path = ${sys:seatunnel.logs.path:-/tmp/seatunnel/logs}
 property.file_name = ${sys:seatunnel.logs.file_name:-seatunnel}
 property.file_split_size = 100MB
diff --git 
a/seatunnel-examples/seatunnel-engine-examples/src/main/resources/log4j2.properties
 
b/seatunnel-examples/seatunnel-engine-examples/src/main/resources/log4j2.properties
index f3d8aea476..db3dcb88e9 100644
--- 
a/seatunnel-examples/seatunnel-engine-examples/src/main/resources/log4j2.properties
+++ 
b/seatunnel-examples/seatunnel-engine-examples/src/main/resources/log4j2.properties
@@ -16,6 +16,9 @@
 # limitations under the License.
 
################################################################################
 
+# The minimum amount of time, in seconds, that must elapse before the file 
configuration is checked for changes.
+monitorInterval = 60
+
 rootLogger.level = DEBUG
 
 rootLogger.appenderRef.consoleStdout.ref = consoleStdoutAppender

Reply via email to