Hello Stephen,

LoggingEvent is an instance of ILoggingEvent so you should not get class cast exceptions. Could you send the stack trace?
--
Ceki

On 06/06/2011 10:50 PM, Stephen Schaeffer wrote:
Hi all,

I'm attempting to use the DBAppender, with the MySQL dialect.

I am unable to actually put any records into my DB however. It seems
that the culprit is that in DBAppenderBase:append, there is a call to
subAppend, which is implemented either in Access, in which case it takes
an AccessEvent as it's first argument, or in Classic, in which case it
takes an ILoggingEvent as it's first argument. What it is actually
passing is a LoggingEvent (no initial I) object, and so I'm getting
ClassCastExceptions, and nothing in my DB.

I'm assuming that someone out there has this working, and I'm just
wondering what I'm doing wrong.

Thanks for any help.


*Stephen Schaeffer*


_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to