Hi,

I need a little help with my log4j configuration files. Any help would be
very much appreciated.

Is it was possible to configure loggers to log different levels based on
appenders ?


For example
-----------------------------------------------
# I have two appenders FILE and CONSOLE.
log4j.rootLogger=ALL,FILE, CONSOLE

# For VerboseObj I want CONSOLE to log WARN, and FILE to log INFO
log4j.logger.com.xyz.VerboseObj=INFO
# For QuietObj I want CONSOLE to log INFO, and FILE to log DEBUG
log4j.logger.com.xyz.QuietObj=INFO

------------------------------------

Any idea how to do this ?



Cheers,


Oliver Mather
eBusiness Consultant | CustomWare Asia Pacific | www.customware.net
T: +61-2-9900-0650   | F: +61-2-9475-0100      | M: +61-404-071-153

Improve the quality of your services with WmUnit
Unit testing framework for WebMethods http://www.customware.net/wmunit.shtml



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to