ctubbsii commented on a change in pull request #264: Enable debug logging for 
Accumulo servers
URL: https://github.com/apache/fluo-muchos/pull/264#discussion_r306085993
 
 

 ##########
 File path: ansible/roles/accumulo/templates/log4j-service.properties
 ##########
 @@ -0,0 +1,24 @@
+log4j.appender.file=org.apache.log4j.RollingFileAppender
+log4j.appender.file.File=${accumulo.log.dir}/${accumulo.application}.log
+log4j.appender.file.MaxFileSize=1000MB
+log4j.appender.file.MaxBackupIndex=10
+log4j.appender.file.Threshold=ALL
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%-8c{2}] %-5p: %m%n
+
+# send logs to Accumulo monitor
+log4j.appender.monitor=org.apache.accumulo.monitor.util.AccumuloMonitorAppender
+log4j.appender.monitor.Threshold=WARN
+
+# suppress spammy logging from 3rd party libs
+log4j.logger.org.mortbay.log=WARN
 
 Review comment:
   I checked our dependency hierarchy and I don't think any mortbay stuff 
remains in Accumulo. It should probably be purged there also. See 
apache/accumulo#1284

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to