logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumar.Velug...@ubs.com
Subject RE: AdoNetAppender:
Date Mon, 22 May 2006 13:20:05 GMT
I greatly appreciate it. Thanks it works after changing the appender
name from "log4net.Appender.AdoNetAppender" to
"log4net.Appender.ADONetAppender"

Regards,
Kumar
-----Original Message-----
From: Ron Grabowski [mailto:rongrabowski@yahoo.com] 
Sent: Thursday, May 18, 2006 11:20 PM
To: Log4NET User
Subject: Re: AdoNetAppender:

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">

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


Mime
View raw message