logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NewWay <noah.dr...@gmail.com>
Subject Pre-configured logging profiles
Date Mon, 02 Nov 2009 11:26:39 GMT

Hi,

I'm logging all my events to the same file and I want to be able to switch
between logging configurations to follow different flows in my system.

Lets say that process A logging is:
my.package.one = info
my.package.two = debug

and process B logging is :

my.package.three = info
my.package.four = debug

is there a way to completely switch between configuration using the
properties/XML files?

because progrematically I know that I can set the root to 'error' or
something like that and than set the needed configurations for my flow

Thank you,
Noa

-- 
View this message in context: http://old.nabble.com/Pre-configured-logging-profiles-tp26156679p26156679.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message