forked from zinggAI/zingg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j.properties
30 lines (30 loc) · 1.24 KB
/
log4j.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
log4j.rootLogger=DEBUG, FILE, SCREEN
log4j.additivity.rootLogger=false
# Define the root appender
log4j.appender.SCREEN=org.apache.log4j.ConsoleAppender
log4j.appender.SCREEN.layout=org.apache.log4j.PatternLayout
log4j.appender.SCREEN.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
# Define the file appender
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File=/tmp/zinggLogs.out
log4j.appender.FILE.ImmediateFlush=true
log4j.appender.FILE.MaxFileSize=4MB
log4j.appender.FILE.MaxBackupIndex=50
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n
log4j.appender.FILE.Append=false
# Print only messages of level DEBUG or above in the package com.foo.
log4j.logger.org.eclipse=OFF
log4j.logger.org.apache.poi=DEBUG
log4j.logger.io.netty=OFF
log4j.logger.org.apache.hadoop=WARN
log4j.logger.org.apache.spark=WARN, FILE
log4j.logger.org.apache.spark.ml=WARN, FILE
log4j.logger.org.apache.parquet.hadoop=WARN, FILE
log4j.logger.org.graphframes=DEBUG, FILE
log4j.logger.org.spark_project=OFF
log4j.logger.org.sparkproject=OFF
log4j.logger.org.elasticsearch.hadoop=DEBUG
log4j.logger.akka=WARN, FILE
log4j.logger.breeze=WARN, FILE
log4j.logger.zingg=DEBUG