Hi all, I'd like to change the Log4J configuration remotely while my app is running. I started a simple JMX solution when I noticed that Log4J already includes a JMX package : org.apache.log4j.jmx.
Unfortunately, this package is not well documented, and I could not find any mention of it in "The Complete Log4J Manual" (Ceki Gülcü) that I recently bought. Could somebody explain me how to use it or point me to some online doc? I understand that LoggerDynamicMBean, LayoutDynamicMBean and LoggerDynamicMBean are all wrapper around a Logger, a Layout or an Appender. But most of my apps use lots of Loggers, Appenders,... do I have to publish a MBean for each of them? Isn't that a bit awkward? If I access them with jconsole I will end up with lot's of hard to read info. Or is there a Log4J JMX GUI client somewhere that present me all that in a friendly way? Or do I have to create one? (and if so, is anybody interrested in joining the project ? :-> ). Cheers all, me.
