You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Hemant Phanasgaonkar <hp...@questerra.com> on 2002/11/20 19:03:39 UTC
What is the method to remove the entry from LoggerRespository
> Hi,
>
> I am using log4j in a server application which handles multiple jobs.
> Each job is creates an instance of Logger (Category). I want to make
> sure that when the Job is completed the instance of Logger (Category)
> created in the Hirarchy object ( ht Hasmap ) is removed.
>
> Assuming that there is no such method available, LoggerRepository
> should provide a method to remove the named Logger from the
> repository. Without this the ht Hashmap in Hirarchy will keep on
> growing with unused CategoryKey and Logger objects.
>
> Please advise.
>
> Hemant
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>