Are there problems using log4net in a multi-threaded environment?

I am wondering if anyone has experience using log4net in a multi-threaded environment like asp.net. We are currently using log4net, and I want to make sure that we do not run into any problems.

+3
source share
1 answer

We run log4net (and log4cxx) in multi-threaded environments without any problems. You want to be careful how you configure them.

The log4net issue Jeff describes is related to using a specific application. We use simple log file applications in general to reduce the impact of logging on code handling. Writing a string to a file is pretty minimal, but another database transaction is very difficult.

+1
source

Source: https://habr.com/ru/post/1696734/


All Articles