1.在配置文件中增加log4net的配置section
  2.增加一行assembly的attribute: [assembly: log4net.Config.XmlConfigurator(Watch=true)]