Repository: hadoop Updated Branches: refs/heads/trunk 6a3973931 -> c1fe657a1
HDDS-478. Log files related to each daemon doesn't have proper startup and shutdown logs. Contributed by Dinesh Chitlangia. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c1fe657a Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c1fe657a Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c1fe657a Branch: refs/heads/trunk Commit: c1fe657a106aaae3bdf81fa4add70962aaee165b Parents: 6a39739 Author: Anu Engineer <[email protected]> Authored: Tue Oct 9 16:44:32 2018 -0700 Committer: Anu Engineer <[email protected]> Committed: Tue Oct 9 16:44:32 2018 -0700 ---------------------------------------------------------------------- .../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/c1fe657a/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: [email protected] For additional commands, e-mail: [email protected]
