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_r306049981
##########
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
+log4j.logger.org.apache.zookeeper=ERROR
+log4j.logger.org.apache.hadoop.io.compress=WARNi
+
+log4j.logger.org.apache.accumulo=DEBUG
+
+# suppress some spammy Accumulo logging
+log4j.logger.org.apache.accumulo.core.file.rfile.bcfile=INFO
+log4j.logger.org.apache.accumulo.audit=OFF
+
+log4j.rootLogger=INFO, file
Review comment:
I think you need to lower this to DEBUG also, otherwise child loggers won't
get the DEBUG logs.
```suggestion
log4j.rootLogger=DEBUG, file
```
----------------------------------------------------------------
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