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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new bc9a0d98e [INLONG-4824][Log] Print line numbers in log info for all 
modules (#4825)
bc9a0d98e is described below

commit bc9a0d98ea638242aedea0781422c3cb12984f35
Author: Greedyu <[email protected]>
AuthorDate: Fri Jul 1 11:37:01 2022 +0800

    [INLONG-4824][Log] Print line numbers in log info for all modules (#4825)
---
 inlong-agent/agent-core/src/test/resources/log4j2.xml             | 2 +-
 inlong-agent/agent-plugins/src/test/resources/log4j2.xml          | 2 +-
 inlong-agent/conf/log4j2.xml                                      | 2 +-
 inlong-audit/conf/log4j2.xml                                      | 2 +-
 inlong-dataproxy/conf/log4j2.xml                                  | 2 +-
 inlong-dataproxy/dataproxy-source/src/main/resources/log4j2.xml   | 2 +-
 inlong-manager/manager-client-tools/src/test/resources/log4j2.xml | 2 +-
 inlong-tubemq/conf/log4j2.xml                                     | 2 +-
 inlong-tubemq/tubemq-manager/conf/log4j2.xml                      | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/inlong-agent/agent-core/src/test/resources/log4j2.xml 
b/inlong-agent/agent-core/src/test/resources/log4j2.xml
index c43dc704c..7b05eb408 100644
--- a/inlong-agent/agent-core/src/test/resources/log4j2.xml
+++ b/inlong-agent/agent-core/src/test/resources/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">logs/core</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="output_log_level">DEBUG</property>
         <property name="debug_fileName">${basePath}/ut-debug.log</property>
         <property name="console_print_level">DEBUG</property>
diff --git a/inlong-agent/agent-plugins/src/test/resources/log4j2.xml 
b/inlong-agent/agent-plugins/src/test/resources/log4j2.xml
index 32da5e4eb..9a4047617 100644
--- a/inlong-agent/agent-plugins/src/test/resources/log4j2.xml
+++ b/inlong-agent/agent-plugins/src/test/resources/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">logs/plugins</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="output_log_level">DEBUG</property>
         <property name="debug_fileName">${basePath}/ut-debug.log</property>
         <property name="console_print_level">DEBUG</property>
diff --git a/inlong-agent/conf/log4j2.xml b/inlong-agent/conf/log4j2.xml
index e4cf9f4fa..93e405dfa 100644
--- a/inlong-agent/conf/log4j2.xml
+++ b/inlong-agent/conf/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">${sys:agent.home}/logs</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="every_file_size">1G</property>
         <property name="output_log_level">DEBUG</property>
         <property name="rolling_max">50</property>
diff --git a/inlong-audit/conf/log4j2.xml b/inlong-audit/conf/log4j2.xml
index 2cdf3b2dd..99028bb05 100644
--- a/inlong-audit/conf/log4j2.xml
+++ b/inlong-audit/conf/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">${sys:audit.log.path}</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="every_file_size">1G</property>
         <property name="output_log_level">DEBUG</property>
         <property name="rolling_max">50</property>
diff --git a/inlong-dataproxy/conf/log4j2.xml b/inlong-dataproxy/conf/log4j2.xml
index d4f70d4f6..e0c57f722 100644
--- a/inlong-dataproxy/conf/log4j2.xml
+++ b/inlong-dataproxy/conf/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">${sys:dataproxy.log.path}</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="every_file_size">1G</property>
         <property name="output_log_level">DEBUG</property>
         <property name="rolling_max">50</property>
diff --git a/inlong-dataproxy/dataproxy-source/src/main/resources/log4j2.xml 
b/inlong-dataproxy/dataproxy-source/src/main/resources/log4j2.xml
index d4f70d4f6..e0c57f722 100644
--- a/inlong-dataproxy/dataproxy-source/src/main/resources/log4j2.xml
+++ b/inlong-dataproxy/dataproxy-source/src/main/resources/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">${sys:dataproxy.log.path}</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="every_file_size">1G</property>
         <property name="output_log_level">DEBUG</property>
         <property name="rolling_max">50</property>
diff --git a/inlong-manager/manager-client-tools/src/test/resources/log4j2.xml 
b/inlong-manager/manager-client-tools/src/test/resources/log4j2.xml
index 20b201528..e455f58e7 100644
--- a/inlong-manager/manager-client-tools/src/test/resources/log4j2.xml
+++ b/inlong-manager/manager-client-tools/src/test/resources/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">logs/client-tools</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="output_log_level">DEBUG</property>
         <property name="debug_fileName">${basePath}/ut-debug.log</property>
         <property name="console_print_level">DEBUG</property>
diff --git a/inlong-tubemq/conf/log4j2.xml b/inlong-tubemq/conf/log4j2.xml
index 4440c84ac..0f84caf62 100644
--- a/inlong-tubemq/conf/log4j2.xml
+++ b/inlong-tubemq/conf/log4j2.xml
@@ -21,7 +21,7 @@
     <Properties>
         <property name="basePath">${sys:tubemq.log.path}</property>
         <property name="filePrefix">${sys:tubemq.log.prefix}</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="every_file_size">1G</property>
         <property name="output_log_level">DEBUG</property>
         <property name="rolling_max">50</property>
diff --git a/inlong-tubemq/tubemq-manager/conf/log4j2.xml 
b/inlong-tubemq/tubemq-manager/conf/log4j2.xml
index ec2320d17..25252913b 100644
--- a/inlong-tubemq/tubemq-manager/conf/log4j2.xml
+++ b/inlong-tubemq/tubemq-manager/conf/log4j2.xml
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30">
     <Properties>
         <property name="basePath">${sys:manager.log.path}</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.} : %m%n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p ${PID:-} 
[%15.15t] %-30.30C{1.}:%L %m%n</property>
         <property name="every_file_size">1G</property>
         <property name="output_log_level">INFO</property>
         <property name="rolling_max">50</property>

Reply via email to