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 23:52:40 GMT

Take a look at this tutorial:
http://www.dreamcubes.com/blog/index.php?itemid=59#nucleus_cf
I relied on it and I ask the guy who wrote it about this JDBCAppender but
since I got no replies I
asked here.... 
Anyway what's up with this hostility.... 
I'd find 10,000 other ways to answer the question nicer Dale.
Since I asked about JDBC.... I guess I didn't realize it..... (rhetorical
question)



Dale King-2 wrote:
> 
> Do you realize what the J stands for in JDBC? You really expect to be
> able to call a Java database driver from C++?
> 
> Of course C++ cannot access JDBC. There is an ODBCAppender for C++.
> 
> On Wed, Nov 26, 2008 at 1:21 PM, Greggg <greg.flex@gmail.com> wrote:
>>
>> 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.
>>
>>
> 
> 
> 
> -- 
> Dale King
> 
> 

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


Mime
View raw message