See http://logging.apache.org/log4j/docs/faq.html#3.6 I don't think there is much code to write...
On 10/20/06, Thomas TERMIN <[EMAIL PROTECTED]> wrote:
Sorry I did not mean a servicemix component. I use allways the word component ;-) since I started working with servicemix. What you said is exactly what I meant. So I will have a look on it! Thanks, Thomas Guillaume Nodet wrote: > 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
