I would rather use a ServiceMix service instead of
a component, as this is more related to management /
configuration than a component if I understand you
correctly.  ... and use a timer to reload the log4j config.
But iirc, log4j already has this feature, we just need to
enable it.

On 10/20/06, Thomas TERMIN <[EMAIL PROTECTED]> wrote:
Hello Guillaume,

We would need a log4j Component where you can change the debug level at
runtime. I would implement a MBean which initialise the log4j system at
startup and also have a scheduler which looks if the log4j.xml has
changed and then reinitialise the log4j system.

If I would provide you a patch would you accept this in servicemix?

Cheers,
Thomas Termin



--
Cheers,
Guillaume Nodet

Reply via email to