logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ysuneelreddy" <sre...@smarteinc.com>
Subject The data not inserting in Logging_event_exception,Logging_event_property tables.
Date Wed, 02 Aug 2006 10:37:27 GMT
Hi.

Iam working on Log4j-1.3alpha-8

Iam facing problem like.

The log messages inserting only one table logging_event

The data not inserting in Logging_event_exception,Logging_event_property
tables.

I wrote my xml like this.

 

<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="driverClass" value="com.mysql.jdbc.Driver" />

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

</connectionSource>

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

</appender>

<root>

    <level value="info"/>

    <appender-ref ref="A1"/>

</root>

</log4j:configuration>

 

Plz tell me how can I do it.

Iam waiting for ur reply... 

 

 

Thanks & Rgds,

 

Yaramaka SuneelReddy.

Software Engineer,

Smarte Solutions,

Mob: +91 9833022044

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message