Revision 6765
Added by ben leinfelder almost 13 years ago
log4j.properties | ||
---|---|---|
58 | 58 |
# log4j.logger.com.foo=WARN |
59 | 59 |
|
60 | 60 |
### LOGGING TO REPLICATION FILE ######################################################### |
61 |
log4j.category.ReplicationLogging=replication
|
|
61 |
log4j.logger.ReplicationLogging=INFO, replication
|
|
62 | 62 |
log4j.appender.replication=org.apache.log4j.DailyRollingFileAppender |
63 |
log4j.appender.replication.File = ${replication.logfile.name}
|
|
63 |
log4j.appender.replication.File=${replication.logfile.name}
|
|
64 | 64 |
log4j.appender.replication.DatePattern='.'yyyy-ww |
65 | 65 |
log4j.appender.replication.maxFileSize=100000KB |
66 | 66 |
log4j.appender.replication.maxBackupIndex=10 |
... | ... | |
69 | 69 |
log4j.appender.replication.layout.ConversionPattern=@build.context@ %d{yyyyMMdd-HH:mm:ss}: [%p]: %m [%c]%n |
70 | 70 |
|
71 | 71 |
############## DataOne Logger ########################### |
72 |
log4j.category.DataOneLogger=d1
|
|
72 |
log4j.logger.DataOneLogger=INFO, d1
|
|
73 | 73 |
log4j.appender.d1=org.apache.log4j.FileAppender |
74 | 74 |
log4j.appender.d1.File = DataOneEventLog.txt |
75 | 75 |
log4j.appender.d1.DatePattern='.'yyyy-ww |
Also available in: Unified diff
include the logging level with configuring logger (with file appender) for replication and dataone
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5534