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


##########
inlong-manager/manager-web/src/main/resources/log4j2.xml:
##########
@@ -20,7 +20,7 @@
 <configuration status="WARN" monitorInterval="30" 
packages="org.apache.inlong.manager.web.config">
     <properties>
         <property name="basePath">logs</property>
-        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p [%5.30t] 
%-30.30C{1.}:%L - %mask %n</property>
+        <property name="log_pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} -%5p [%5.30t] 
%-30.30C{1.}:%L - %enc{%mask}{CRLF} %n</property>

Review Comment:
   Modifying the log4j2.xml file will affect all logs. For example, the output 
SQL cannot be copied and used directly, because symbols such as \r and \n will 
be output additionally, which is not conducive to the reading of logs.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to