Can't get Log4Net to work in my ASP.NET website :(

后端 未结 5 1464
终归单人心
终归单人心 2021-02-10 13:22

really simple question -> i can\'t seem to get any data from Log4Net in my ASP.NET application. I\'ve got a simple ASP.NET website, which references a class library. In this cla

5条回答
  •  一个人的身影
    2021-02-10 14:14

    ASP.Net has restriction on usage of filesystem access, so try to explicitly point directory under App_Data (were it is allowed) Here my working sample:

    
        
            
    

    Or with rollover

        
            
    

提交回复
热议问题