Title: Nachricht
Thanks!!
 
I extend AppenderSkeleton, so I should be fine.
Thank you.
 
Richard Unger
-----Urspr�ngliche Nachricht-----
Von: Bauer, Paul-Michael [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 27. Februar 2004 14:29
An: Log4J Developers List
Betreff: RE: Appenders Thread Safe?

Any class that implements the �org.apache.log4j.Appender� interface can be an appender.

The class may or may not make the �void doAppend(LoggingEvent event)

and �void setErrorHandler(ErrorHandler eh)� methods thread safe (e.g. synchronized).

 

However, most appenders extend the abstract class �org.apache.log4j.AppenderSkeleton� which does make these methods thread safe.

 

-----Original Message-----
From: Unger Richard [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 5:05 AM
To: [EMAIL PROTECTED]
Subject: Appenders Thread Safe?

 

Hi Everyone.

Do appenders have to be written Thread-safe, or does the surrounding Log4J API handle this?

Richard Unger

**This E-mail and any of its attachments may contain Lincoln National Corporation proprietary information, which is privileged, confidential, or subject to copyright belonging to the Lincoln National Corporation family of companies. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout. Thank You.**

Reply via email to