logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ysuneelreddy" <sre...@smarteinc.com>
Subject Not inserting the values in to LOGGING_EVENT_PROPERTY...LOG4J + MYSQL
Date Fri, 28 Jul 2006 11:19:16 GMT
Hi .

 

I wrote log4j.xml as like..

 

<log4j:configuration  xmlns:log4j="http://jakarta.apache.org/log4j/">

<appender name="A1"  class="org.apache.log4j.db.DBAppender">

      <connectionSource
class="org.apache.log4j.db.DriverManagerConnectionSource">

        <param name="password" value="smarte911"/>

        <param name="user" value="smarte2"/>

        <param name="driverClass" value="com.mysql.jdbc.Driver"/>

        <param name="url" value="jdbc:mysql://192.168.1.225:3306/smartedb"/>

      </connectionSource>

<param name="LocationInfo" value ="true" />

</appender>

<root>

    <priority value="info"/>

    <appender-ref ref="A1"/>

</root>

</log4j:configuration>

 

 "Logging_evevnt_property" in this table nothing inserted.

 

We r using JDBC3.0..

I set Jdbc driver also in my class path..

Plz give me some solution.

 

Thanks & Rgds,

 

Yaramaka SuneelReddy.

Software Engineer,

Smarte Solutions,

ph : + 91 9833022044

 

 


Mime
View raw message