| # Root logger option |
| log4j.rootLogger=ERROR, stdout |
| log4j.logger.DrillTestLogger=INFO,file, Drill |
| # Direct log messages to ./drill.log.timestamp file |
| log4j.appender.file = org.apache.log4j.rolling.RollingFileAppender |
| log4j.appender.file.rollingPolicy = org.apache.log4j.rolling.TimeBasedRollingPolicy |
| log4j.appender.file.rollingPolicy.FileNamePattern = logs/drill.log.%d{yyyy-MM-dd-HH} |
| log4j.appender.file.layout=org.apache.log4j.PatternLayout |
| log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n |
| |
| # Direct log messages to stdout |
| log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| log4j.appender.stdout.Target=System.out |
| log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| log4j.appender.stdout.layout.ConversionPattern=%m%n |
| |
| # Direct log messages to stdout |
| log4j.appender.Drill=org.apache.log4j.ConsoleAppender |
| log4j.appender.Drill.Target=System.out |
| log4j.appender.Drill.layout=org.apache.log4j.PatternLayout |
| log4j.appender.Drill.layout.ConversionPattern=%m%n |
| |
| log4j.additivity.DrillTestLogger=false |
| |
| log4j.logger.org.apache.curator=WARN |
| log4j.logger.org.apache.zookeeper=WARN |