You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/06/30 15:45:12 UTC

[GitHub] [inlong] healchow commented on a diff in pull request #4825: [INLONG-4824][Agent] Print line numbers in log info

healchow commented on code in PR #4825:
URL: https://github.com/apache/inlong/pull/4825#discussion_r911183793


##########
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>

Review Comment:
   Are there any other log configurations of the agent module that need to be modified? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org