How to specify common application data folder for log4net?

后端 未结 6 1886
一生所求
一生所求 2020-12-01 10:13

I want log4net to write log files (using RollingFileAppender) to a subfolder of the common application data folder (e.g. C:\\Documents and Settings\\All Users\\Application D

6条回答
  •  一向
    一向 (楼主)
    2020-12-01 11:06

    Complete and working solution - content of my Log4net.config file. In actual version of Log4Net there is no need for writing own pattern converter anymore

    
    
      
        
        
      
      
        
        
        
        
        
          
        
      
    
    

提交回复
热议问题