On Tue, 29 Nov 2005 09:31:28 +0100
Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:

> Lionel Farbos wrote:
> 
> >Notes :
> >- Perhaps your Listener will have to delete other objets like SQL drivers, 
> >commons logger, ...
> >- see also : 
> >http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669
> >  
> >
> Does log4j have some nice method to free all Logger objects? It seems 
> like a nightmare to free Loggers from all of my classes by hand...

I think it's not a good idea to have a lot of logger objects in a webapp :
In a webapp, you need only one logger.

Then, on the last servlet destroy, you can freed your logger with logger=null;
I think no other method is needed.

Regards.

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

Reply via email to