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

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

This is my log4net config file



  

        
6条回答
  •  梦如初夏
    2021-01-30 10:26

    Nobody mentioned encoding. It's pretty important if you are logging messages in Chinese, Japanese, Arabic or any double-byte language. Here is an example:

    
      
      
    
    

提交回复
热议问题