11 2012 档案
摘要:1. 守护程序更新配置文件。2. Spring.Context.IConfigurableApplicationContext ic = (Spring.Context.IConfigurableApplicationContext)ContextRegistry.GetContext(); ic.Refresh();
阅读全文
摘要:首先从官方网站http://logging.apache.org/log4net/下载最近版本的log4net组件。在程序中添加对log4net.dll的引用,就可以在程序中使用了。下一步,编写配置文件,内容如下<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationS
阅读全文

浙公网安备 33010602011771号