Thread Safety of log4net

前端 未结 3 1475
傲寒
傲寒 2021-02-02 11:38

There seems to be some discussion on whether log4net is thread-safe, the consensus is that the framework is thread-safe, but appenders are not and need to be used correctly to a

3条回答
  •  孤城傲影
    2021-02-02 12:00

    Straight from the log4net FAQ:

    Is log4net thread-safe?

    Yes, log4net is thread-safe.

    So, no need for manual locking.

提交回复
热议问题