oleewere commented on a change in pull request #23: AMBARI-24987 - Infra 
Manager: parse logs by Logsearch
URL: https://github.com/apache/ambari-infra/pull/23#discussion_r238698877
 
 

 ##########
 File path: ambari-infra-manager/src/main/resources/log4j2.xml
 ##########
 @@ -24,7 +24,7 @@
       <Layout type="PatternLayout" pattern="%d{HH:mm:ss.SSS} [%t] %-5level 
%logger{36}:%L - %msg%n" />
     </Appender>
     <RollingFile name="File" fileName="${logging.file}" 
filePattern="${logging.file}-%i-%d{yyyy-MM-dd}">
-      <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36}:%L - 
%msg%n" />
+      <PatternLayout pattern="%d [%t] %-5p %C{6} (%F:%L) - %m%n" />
 
 Review comment:
   is %d good enough as default? %d could be depdends on system settings

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to