The appenders that derive from AppenderSkeleton are thread safe for multithearded operation when used withing the log4net framework.
Cheers, Nicko > -----Original Message----- > From: Bill Sorensen [mailto:[EMAIL PROTECTED] > Sent: 12 May 2006 21:07 > To: [email protected] > Subject: AppenderSkeleton not thread safe > > Since the AppenderSkeleton class is not thread-safe (per the > SDK reference), none of the appenders are thread-safe - even > ones like EventLogAppender. > > According to Nicko Cadell, > > > How log4net implements this with regards to individual appenders is > not > > really important. The docs for the RollingFileAppender are correct, > the > > members of the type are not thread safe, but this is not relevant > unless > > you want to programmatically access the appender directly from you > code. > > During logging the appender's base class (AppenderSkeleton) ensures > > serialisation of appending of logging events. > > So what synchronization concerns are there in configuring and > logging to log4net from a multithreaded application? > > Thank you, > Bill Sorensen > >
