Log4Net “Could not find schema information” messages

后端 未结 13 870
故里飘歌
故里飘歌 2020-12-01 04:17

I decided to use log4net as a logger for a new webservice project. Everything is working fine, but I get a lot of messages like the one below, for every log4net tag I am usi

13条回答
  •  独厮守ぢ
    2020-12-01 04:33

    I had a different take, and needed the following syntax:

    [assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.xml", Watch = true)]
    

    which differs from xsl's last post, but made a difference for me. Check out this blog post, it helped me out.

提交回复
热议问题