logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Sorensen" <bsoren...@idtdna.com>
Subject AppenderSkeleton not thread safe
Date Fri, 12 May 2006 20:06:44 GMT
Since the AppenderSkeleton class is not thread-safe (per the SDK
reference), none of the appenders are thread-safe - even ones like

According to Nicko Cadell,

> How log4net implements this with regards to individual appenders is
> really important. The docs for the RollingFileAppender are correct,
> members of the type are not thread safe, but this is not relevant
> you want to programmatically access the appender directly from you
> 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

View raw message