fredzhu wrote: > > Hi, all > > I want to know how configuration log4j's level via jmx when the > servicemix started . > > I know java.util.logger can do it via jmx. But servicemix's log is > base on log4j. > Fred >
Hi Fred, ServiceMix has the LogServiceMBean. This MBean however does not allow you to directly alter the configuration. It allows you though 2 things: a) Load the configuration from an other file (has to be in the classpath) b) Relod the configuration. I am not sure if this covers you, but its a workaround. ----- Ioannis Canellos -- View this message in context: http://old.nabble.com/How-can-monitor-log4j-on-JMX--tp28262101p28266008.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
