one quick solution would be call reset before every configure call you are
making.

On Sun, Aug 30, 2009 at 9:24 AM, Curt Arnold <carn...@apache.org> wrote:

>
> On Aug 29, 2009, at 1:08 PM, vasile.jures...@sophia.inria.fr wrote:
>
> On Saturday 29 August 2009 21:01:37 deepak singh wrote:
>>
>>> The reason could be you are initializing the logger multiple times.
>>> Can you send the code where you are initializing the logger and make sure
>>> that part of code is called just once during entire execution.
>>> Thanks
>>> Deepak
>>>
>>
> You are calling BasicConfigurator::configure multiple times (once in each
> constructor).  log4j and log4cxx configurations are cumulative, so each call
> attaches another appender to the root logger.
>

Reply via email to