Mail Archive Home | barracuda-commits List | June 2003 Index
| <-- Date Index --> | <-- Thread Index --> |
CVSROOT: /var/cvs
Module name: Barracuda
Repository: Barracuda/WEB-INF/
Changes by: jacobk@xxxxxxxxxxxxxxxxx(none) 03/06/21 10:28:56
Modified files:
Barracuda/WEB-INF/: sample.log4j.xml
Log message:
Give the root logger a default appender. In this case, it is the A2,
or FileAppender. Also, don't override levels unless wanting to modify that
already provided by the root logger, otherwise you are just being redundant.
In this case, repeating the "warn" level in individual loggers is redundant.
Note that in addition to defined appenders in individual loggers, the
appender for the root logger will also log information for individual
loggers. If this is not desired, one may use additivity="false" on chosen
individual loggers. In most cases, this is just fine as I'd rather see any
and all desired logging show up in the "main.log" defined for the A2
appender. If one desires certain information to be sent, additionally, to
other appenders in individual loggers, that is fine, just don't remove the
root appender.
Jake
===================================================================
File: sample.log4j.xml Status: Up-to-date
Working revision: 1.4 Sat Jun 21 16:28:56 2003
Repository revision: 1.4 /var/cvs/Barracuda/WEB-INF/sample.log4j.xml,v
Existing Tags:
Barracuda_1_2_0 (revision: 1.2)
jrk_20030217 (revision: 1.2)
jrk_20030203 (revision: 1.2)
csc_122702_2 (revision: 1.2)
BARRACUDA_PRE_REFACTORING (revision: 1.2)
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.