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 Kamal Ahmed <KA...@webMethods.com> on 2006/12/14 20:57:08 UTC

Making sure Appender is not closed

Hi,
How do I ensure that if I have multiple Loggers writing to a single
Appender, that the Appender is not closed, and I do not get the message:

"Error writing to a closed Appender"

Thanks,
-Kamal.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: Making sure Appender is not closed

Posted by James Stauffer <st...@gmail.com>.
That shouldn't normally happen.  It can happen if you change the
config after it is first configured.

On 12/14/06, Kamal Ahmed <KA...@webmethods.com> wrote:
> Hi,
> How do I ensure that if I have multiple Loggers writing to a single
> Appender, that the Appender is not closed, and I do not get the message:
>
> "Error writing to a closed Appender"
>
> Thanks,
> -Kamal.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org