ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mug...@apache.org
Subject ambari git commit: AMBARI-19993 : Update atlas log-4j.xml configurations in ambari (Vishal Suvagia via mugdha)
Date Wed, 15 Feb 2017 05:08:40 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 39c0b9289 -> e52fbc3a8


AMBARI-19993 : Update atlas log-4j.xml configurations in ambari (Vishal Suvagia via mugdha)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e52fbc3a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e52fbc3a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e52fbc3a

Branch: refs/heads/trunk
Commit: e52fbc3a88f814f9731cb6a4e404ed4ffd608897
Parents: 39c0b92
Author: Vishal Suvagia <vishalsuvagia@yahoo.com>
Authored: Tue Feb 14 03:50:19 2017 +0530
Committer: Mugdha Varadkar <mugdha@apache.org>
Committed: Wed Feb 15 10:38:16 2017 +0530

----------------------------------------------------------------------
 .../services/ATLAS/configuration/atlas-log4j.xml   | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e52fbc3a/ambari-server/src/main/resources/stacks/HDP/2.6/services/ATLAS/configuration/atlas-log4j.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/ATLAS/configuration/atlas-log4j.xml
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/ATLAS/configuration/atlas-log4j.xml
index 95bc0ea..9e3abcf 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/ATLAS/configuration/atlas-log4j.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/ATLAS/configuration/atlas-log4j.xml
@@ -77,7 +77,6 @@
   <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
     <param name="File" value="{{log_dir}}/application.log"/>
     <param name="Append" value="true"/>
-    <param name="Threshold" value="info"/>
     <param name="MaxFileSize" value="{{atlas_log_max_backup_size}}MB" />
     <param name="MaxBackupIndex" value="{{atlas_log_number_of_backup_files}}" />
     <layout class="org.apache.log4j.PatternLayout">
@@ -85,6 +84,22 @@
     </layout>
   </appender>
 
+  <!-- uncomment this block to generate performance traces
+  <appender name="perf_appender" class="org.apache.log4j.DailyRollingFileAppender">
+    <param name="File" value="{{log_dir}}/atlas_perf.log" />
+    <param name="datePattern" value="'.'yyyy-MM-dd" />
+    <param name="append" value="true" />
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="%d|%t|%m%n" />
+    </layout>
+  </appender>
+
+    <logger name="org.apache.atlas.perf" additivity="false">
+      <level value="debug" />
+         <appender-ref ref="perf_appender" />
+    </logger>
+  -->
+
   <appender name="AUDIT" class="org.apache.log4j.DailyRollingFileAppender">
     <param name="File" value="{{log_dir}}/audit.log"/>
     <param name="Append" value="true"/>


Mime
View raw message