首页 新闻 会员 周边

log4net不同版本问题

0
[已关闭问题]
<P>我们的Web Application引用了其他公司的组件,这个组建中使用log4net是framework1.1版本,我们的web application使用.net2.0, 也是用了log4net版本是1.2.10和Common.Logging。我们的web application对log4net的配置,不能够管理到其他公司的那个组件.请问该怎么解决这个问题?</P> <P>&lt;configSections&gt;<BR>&nbsp;&nbsp;&lt;section name="log4net" type="System.Configuration.IgnoreSectionHandler"/&gt;<BR>&nbsp;&nbsp;&lt;sectionGroup name="common"&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging"/&gt;<BR>&nbsp;&nbsp;&lt;/sectionGroup&gt;<BR>&nbsp;&lt;/configSections&gt;<BR>&nbsp;&lt;common&gt;<BR>&nbsp;&nbsp;&lt;logging&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4net"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;arg key="configType" value="FILE-WATCH" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;arg key="configFile" value="~/log4net.xml" /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/factoryAdapter&gt;<BR>&nbsp;&nbsp;&lt;/logging&gt;<BR>&nbsp;&lt;/common&gt;</P>
荡秋千的主页 荡秋千 | 初学一级 | 园豆:200
提问于:2008-04-29 11:27
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册