i have a question about log4j for java to ask:

as we known,we can add the customer level by extends Level class outside of
log4j.jar and not need to modify log4j source code.
such as: load log4j.jar-> init log4j by log4j.xml -> add customer level ->
using it in the code.
The problem i met is:i wanna utilize the LevelRangeFilter function with the
customer level,but the above i did can't reach it.
because LevelRangeFilter is configured in the log4j.xml.but my customer
level is added after  the step of initing log4j. 
so i have to modify the log4j soucre code to add customer level and rebuild
log4j.jar.
such as: add level in the log4j source code ->build log4j.jar->init log4j by
log4j.xml -> using it in the code.

now how can i utilize the LevelRangeFilter function with the customer level
without modifying source code, thanks!
-- 
View this message in context: 
http://old.nabble.com/utilize-the-LevelRangeFilter-function-with-the-customer-level-tp28946247p28946247.html
Sent from the Log4j - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to