11 2012 档案

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