logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dvrmc <dvrm.chowd...@aricent.com>
Subject configuring log4j for two JVMs
Date Mon, 03 Mar 2008 11:48:04 GMT

Hi,
My application is such that, at start-up,the first component brings up a new
JVM containing the other components.
I have a log4j file having one Console and one File appenders attached to
the root logger. The same file is being configured by both the JVMs at their
startup.

The problem is that, when i change the rootlogger level dynamically, i
sometimes find logger messages from the first component(the one in the first
JVM) whose level is lower than the level configured.

Where am i going wrong?
-- 
View this message in context: http://www.nabble.com/configuring-log4j-for-two-JVMs-tp15799976p15799976.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