forked from airbnb/reair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog4j.properties
22 lines (18 loc) · 968 Bytes
/
log4j.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Root logger options
log4j.rootLogger=INFO, Console, RollingAppender
# Direct log messages to stdout so it's easy to tee
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.Target=System.out
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t] %p %c - %m%n
log4j.appender.Console.Threshold=INFO
# Enable debug logging for this project
log4j.logger.com.airbnb.reair=DEBUG
log4j.logger.velocity=INFO
# Log more a more detailed level into the log files
log4j.appender.RollingAppender=org.apache.log4j.DailyRollingFileAppender
log4j.appender.RollingAppender.File=logs/reair.debug.log
log4j.appender.RollingAppender.DatePattern='.'yyyy-MM-dd
log4j.appender.RollingAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.RollingAppender.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t] %p %c - %m%n
log4j.appender.RollingAppender.Threshold=DEBUG