On Feb 5, 2008 6:46 AM, Duseja, Sushil <[EMAIL PROTECTED]> wrote:
> While running the main class, it seems as if the append() method is being
> called multiple times

I'm not sure if I'm misunderstanding you, but it is perfectly normal
for the append method to be called multiple times; it will be called
each time a log event reaches the appender.

If you mean it's called multiple times per log event, this might be
due to the logger configuration. For example, if you attach the same
appender to the root logger, as well as to a logger higher up the
tree, log events that originate from that particular branch will be
appended twice. However, also that situation should "just" cause the
log event to be logged twice, it should not be causing problems like
you're seeing.

Regards,

Eelke

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

Reply via email to