1、正确配置

2、AssemblyInfo.cs加入[assembly: log4net.Config.XmlConfigurator(Watch = true)]