Log4net not inserting into the database?

后端 未结 4 965
青春惊慌失措
青春惊慌失措 2020-12-30 01:20

I have log4net setup and configured to insert into a sql server 2005 table. My table is called Log. When I call the log4net method it does not enter any data into the log da

4条回答
  •  猫巷女王i
    2020-12-30 01:43

    I don't really have any insight to your problem just by looking at your configuration, but you might try adding this to your app settings to see if log4net can tell you what is going wrong:

             
       
     
    

    See the section titled "How do I enable log4net internal debugging?" for a description of how to capture log4net's internal logging.

提交回复
热议问题