-
Notifications
You must be signed in to change notification settings - Fork 36
/
log4j.properties
20 lines (18 loc) · 943 Bytes
/
log4j.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#log4j.rootCategory=DEBUG, main-appender
# default log setting
log4j.logger.com.rapplogic.xbee=DEBUG, main-appender, console-appender
# override default log setting to log examples at the DEBUG level
log4j.logger.com.rapplogic.xbee.examples=DEBUG
# defines the XBee.log
log4j.appender.main-appender=org.apache.log4j.RollingFileAppender
log4j.appender.main-appender.File=XBee.log
log4j.appender.main-appender.Append=true
log4j.appender.main-appender.MaxFileSize=10MB
log4j.appender.main-appender.MaxBackupIndex=100
log4j.appender.main-appender.ImmediateFlush=true
log4j.appender.main-appender.layout=org.apache.log4j.PatternLayout
log4j.appender.main-appender.layout.ConversionPattern=[%d] [%t] [%p] [%c] %m %n
# Console log
log4j.appender.console-appender=org.apache.log4j.ConsoleAppender
log4j.appender.console-appender.layout=org.apache.log4j.PatternLayout
log4j.appender.console-appender.layout.ConversionPattern=[%d] [%t] [%p] [%c] %m %n