//出现下图的错误是因为少引了这行代码 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>