You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by el...@apache.org on 2018/10/29 14:17:33 UTC
[3/6] hadoop git commit: HDDS-478. Log files related to each daemon
doesn't have proper startup and shutdown logs. Contributed by Dinesh
Chitlangia.
HDDS-478. Log files related to each daemon doesn't have proper startup and shutdown logs.
Contributed by Dinesh Chitlangia.
(cherry picked from commit c1fe657a106aaae3bdf81fa4add70962aaee165b)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/78ec30cf
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/78ec30cf
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/78ec30cf
Branch: refs/heads/ozone-0.3
Commit: 78ec30cf4e6ce7078ecf8144dece0c34c40150ea
Parents: 095e8f6
Author: Anu Engineer <ae...@apache.org>
Authored: Tue Oct 9 16:44:32 2018 -0700
Committer: Márton Elek <el...@apache.org>
Committed: Mon Oct 29 15:07:36 2018 +0100
----------------------------------------------------------------------
.../common/src/main/conf/om-audit-log4j2.properties | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/78ec30cf/hadoop-ozone/common/src/main/conf/om-audit-log4j2.properties
----------------------------------------------------------------------
diff --git a/hadoop-ozone/common/src/main/conf/om-audit-log4j2.properties b/hadoop-ozone/common/src/main/conf/om-audit-log4j2.properties
index 7d097a0..7be51ac 100644
--- a/hadoop-ozone/common/src/main/conf/om-audit-log4j2.properties
+++ b/hadoop-ozone/common/src/main/conf/om-audit-log4j2.properties
@@ -52,11 +52,15 @@ filter.write.onMismatch=NEUTRAL
# TRACE (least specific, a lot of data)
# ALL (least specific, all data)
-appenders=console, rolling
-appender.console.type=Console
-appender.console.name=STDOUT
-appender.console.layout.type=PatternLayout
-appender.console.layout.pattern=%d{DEFAULT} | %-5level | %c{1} | %msg | %throwable{3} %n
+# Uncomment following section to enable logging to console appender also
+#appenders=console, rolling
+#appender.console.type=Console
+#appender.console.name=STDOUT
+#appender.console.layout.type=PatternLayout
+#appender.console.layout.pattern=%d{DEFAULT} | %-5level | %c{1} | %msg | %throwable{3} %n
+
+# Comment this line when using both console and rolling appenders
+appenders=rolling
#Rolling File Appender with size & time thresholds.
#Rolling is triggered when either threshold is breached.
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org