logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: AdoNetAppender:
Date Fri, 19 May 2006 03:20:03 GMT
What version of log4net are you using? Older versions of log4net used
log4net.Appender.ADONetAppender as the type name. The documentation on
the website is for log4net 1.2.10.

--- Kumar.Velugula@ubs.com wrote:

> 
> > Hi
> > 
> > I am trying to log messages to Oracle 9i database table 'Log". I am
> > getting error while initializing AdoNetAppender...following is the
> > log...
> > 
> > log4net:ERROR DOMConfigurator: Could not create Appender
> > [AdoNetAppender_Oracle] of type [log4net.Appender.AdoNetAppender].
> > Reported error follows.
> > log4net:ERROR DOMConfigurator: Could not create Appender
> > [AdoNetAppender_Oracle] of type [log4net.Appender.AdoNetAppender].
> > Reported error follows.
> > System.TypeLoadException: Could not load type
> > log4net.Appender.AdoNetAppender from assembly log4net-net-1.1,
> > Version=1.2.0.30316, Culture=neutral, PublicKeyToken=null.
> >    at System.Reflection.Assembly.GetType(String name, Boolean
> > throwOnError)
> >    at log4net.helpers.SystemInfo.GetTypeFromString(Assembly
> > relativeAssembly, String typeName, Boolean throwOnError)
> >    at log4net.helpers.SystemInfo.GetTypeFromString(String typeName,
> > Boolean throwOnError)
> >    at
> >
>
log4net.Repository.Hierarchy.DOMHierarchyConfigurator.ParseAppender(Xm
> > lElement appenderElement)
> > log4net:ERROR DOMConfigurator: Appender named
> [AdoNetAppender_Oracle]
> > not found.
> > System.TypeLoadException: Could not load type
> > log4net.Appender.AdoNetAppender from assembly log4net-net-1.1,
> > Version=1.2.0.30316, Culture=neutral, PublicKeyToken=null.
> >    at System.Reflection.Assembly.GetType(String name, Boolean
> > throwOnError)
> >    at log4net.helpers.SystemInfo.GetTypeFromString(Assembly
> > relativeAssembly, String typeName, Boolean throwOnError)
> >    at log4net.helpers.SystemInfo.GetTypeFromString(String typeName,
> > Boolean throwOnError)
> >    at
> >
>
log4net.Repository.Hierarchy.DOMHierarchyConfigurator.ParseAppender(Xm
> > lElement appenderElement)
> > log4net:ERROR DOMConfigurator: Appender named
> [AdoNetAppender_Oracle]
> > not found.
> > 
> > 
> > Configuration section ....
> > 
> > 	<appender name="AdoNetAppender_Oracle"
> > type="log4net.Appender.AdoNetAppender">

Mime
View raw message