I do it.
I'm using the "addLoggerMBean" method to get a manageable logger instance and then change the priority value.

I only can create MBeans for loggers that exist in the log4j.xml, so level management looks like a simple trace ON/OFF.

Nico.

Daniel Serodio a écrit :
Did anyone manage to use JMX to hot-configure (eg, changing an
appender's level threshold) a running webapp?

TIA,
Daniel Serodio


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


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to