WCF Service: How to find server logs to understand error?

前端 未结 2 626
渐次进展
渐次进展 2021-01-11 11:03

I know this is probably a pretty basic question but I am brand new to WCF and Service creation. I am running a local hosted WCF service using Microsoft VS 2010 C#4. I am try

2条回答
  •  花落未央
    2021-01-11 11:39

    Add this to your web.config. you specify where the log goes in the initializeData attribute of the tracelistener

    
        
            
        
    
    
        
            
                
                    
                
            
        
    
    

提交回复
热议问题