Browse Source

AMBARI-20474. Log4j Pattern for Storm cluster.xml and worker.xml Does Not Include Thread Information (Hugo Louro via alejandro)

Alejandro Fernandez 8 years ago
parent
commit
e84270e52c

+ 1 - 1
ambari-server/src/main/resources/common-services/STORM/1.0.1/configuration/storm-cluster-log4j.xml

@@ -64,7 +64,7 @@
 -->
 -->
 <configuration monitorInterval="60">
 <configuration monitorInterval="60">
 <properties>
 <properties>
-    <property name="pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} %c{1.} [%p] %msg%n</property>
+    <property name="pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} %c{1.} %t [%p] %msg%n</property>
 </properties>
 </properties>
 <appenders>
 <appenders>
     <RollingFile name="A1" immediateFlush="false"
     <RollingFile name="A1" immediateFlush="false"

+ 1 - 1
ambari-server/src/main/resources/common-services/STORM/1.0.1/configuration/storm-worker-log4j.xml

@@ -107,7 +107,7 @@
 
 
 <configuration monitorInterval="60">
 <configuration monitorInterval="60">
 <properties>
 <properties>
-    <property name="pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} %c{1.} [%p] %msg%n</property>
+    <property name="pattern">%d{yyyy-MM-dd HH:mm:ss.SSS} %c{1.} %t [%p] %msg%n</property>
     <property name="patternNoTime">%msg%n</property>
     <property name="patternNoTime">%msg%n</property>
     <property name="patternMetrics">%d %-8r %m%n</property>
     <property name="patternMetrics">%d %-8r %m%n</property>
 </properties>
 </properties>