HDDS-478. Log files related to each daemon doesn't have proper startup and shutdown logs.

Contributed by Dinesh Chitlangia.

(cherry picked from commit c1fe657a10)
This commit is contained in:
Anu Engineer 2018-10-09 16:44:32 -07:00 committed by Márton Elek
parent 095e8f61b7
commit 78ec30cf4e
1 changed files with 9 additions and 5 deletions

View File

@ -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.