Implementing Log file using Enterprise Library in asp.net

前端 未结 3 847
被撕碎了的回忆
被撕碎了的回忆 2020-12-16 08:37

I m using Microsoft Enterprise Library 3.1 for Exception Handling in asp.net, the erors are stored in Event Viewer of the system .

Instead of Event

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-16 09:14

    In Entlib a Category is connected to a listener, then a listener determines where the log information is written. To log to a file use a Flat File Listener.

    http://msdn.microsoft.com/en-us/library/cc309257.aspx

    
      
    
    
      
    
    
      
        
          
        
    
    

提交回复
热议问题