logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greggg <greg.f...@gmail.com>
Subject Re: JDBCAppender
Date Wed, 26 Nov 2008 18:21:37 GMT

Does anyone have any idea why this is the case.
(that the JDBCAppender doesn't work and the class not found exception is
thrown?)
Thanks



Greggg wrote:
> 
> I'm having problem with the JDBCAppender under Windows (in case this
> matter)
> I can't get it to work....  I'm getting the class not found:
> org.apache.log4j.jdbc.JDBCAppender
> I created the project in Java using log4j with exactly the same appender
> and it worked. 
> The interesting thing is that when I use a Console or a file appender all
> works. (weven with the socket appender) but NOT with the JDBC appender and
> this is the one I do care about..... How ironic.
> Any suggestions what might be a problem?
> Here is the appender code" :
>   <appender name="MyJdbcAppender"
> class="org.apache.log4j.jdbc.JDBCAppender">
>     
>     
>     
>     
>     <layout class="org.apache.log4j.PatternLayout">
>       
>     </layout>
>   </appender>
> 
> Thanks 
> 
> 

-- 
View this message in context: http://www.nabble.com/JDBCAppender-tp20593910p20706436.html
Sent from the Log4cxx - Users mailing list archive at Nabble.com.


Mime
View raw message