Can I enable tracing in OWIN?

后端 未结 1 1900
盖世英雄少女心
盖世英雄少女心 2021-01-07 23:55

I have an environmental problem somewhere in OWIN and I want to get some information about what is happening. I have read that I can enable tracing but can\'t find much info

1条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-08 00:42

    Not 100% sure that this will solve your issue, but we got it working with following config. Slight difference in the following line:

    
    

    Notice that the tag includes a switchName (and switchType) attribute which is missing from your example. I think that this instruction links the TraceSource with the Switch and makes the entire work.

    In our case, we use trace listeners for Azure Web sites (and web jobs).

     
        
          
          
          
        
        
          
            
              
              
            
          
        
        
          
        
        
      
    

    0 讨论(0)
提交回复
热议问题