我正在按照此文档配置登录 snappydata:
http://snappydatainc.github.io/snappydata/configuration/#logging
当我将 conf/log4j.properties.template 更改为“log4j.properties”然后停止/启动所有备份时,我在 snappylead.log 中得到零日志记录。当我开始时没有配置 log4j.properties,我得到 392KB 的日志记录。
我也没有看到我自己的课程记录。
log4j.properties
log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.target=System.err log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=% d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n
log4j.logger.org.spark-project.jetty=警告
log4j.logger.org.spark-project.jetty.util.component.AbstractLifeCycle=错误 log4j.logger.org.apache.spark.repl.SparkIMain$exprTyper=INFO log4j.logger.org.apache.spark.repl.SparkILoop$ SparkILoopInterpreter=INFO log4j.logger.org.apache.parquet=错误 log4j.logger.parquet=错误
log4j.logger.org.apache.hadoop.hive.metastore.RetryingHMSHandler=致命 log4j.logger.org.apache.hadoop.hive.ql.exec.FunctionRegistry=错误
log4j.logger.io.snappydata=调试
log4j.logger.com.pivotal.gemfirexd=信息
log4j.logger.my.own.classes=调试
snappyserver.log 只有这些行
The netserver address, "dev-snappydata-1/10.0.18.66[1,527]", is already in use.
The netserver address, "dev-snappydata-1/10.0.18.66[1,527]", is already in use.
SnappyData Network Server - 10.4.2.0 beta - (1) started and ready to accept connections on port 1528 at 2016/08/12 17:39:58.841 UTC