Home > Net >  Log4net how to set up an asynchronous write log?
Log4net how to set up an asynchronous write log?

Time:10-14

As title, log4net how to do the secondary packaging case, make an asynchronous write log? I found that if large quantity, the log will affect performance; If the secondary packaging, the log can't accurately record the basic information of the code (lines, etc.)

CodePudding user response:

Provide with asynchronous way, no can't use,

CodePudding user response:

https://www.cnblogs.com/allanli/p/5286137.html

CodePudding user response:

reference 1st floor exception92 response:
provides asynchronous use, no use.

Log4net from log4j, should be able to ~ but I just found no asynchronous Settings

CodePudding user response:

The
refer to Beijing on the second floor. NET - six years of reply:
https://www.cnblogs.com/allanli/p/5286137.html

This I have ever seen, he this kind of secondary packaging, record the code number of rows is not accurate,

CodePudding user response:

For a long time used the

https://github.com/cjbhaines/Log4Net.Async

CodePudding user response:

Nlog asynchronous records can be configured
  •  Tags:  
  • C#
  • Related