What do you have in your log4net config? Hacks, optimizations, observations?

前端 未结 6 2068
悲哀的现实
悲哀的现实 2021-01-30 09:25

This is my log4net config file



  

        
6条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 10:09

    One suggestion for the RollingLogFileAppender is to use the minimal lockingModel. With this setting the log file isn't locked, rather it is opened and then closed for each write.

    
    

提交回复
热议问题