What I want is to insert the log's information into a database using the weblogic database configuration ‘ModuleDs’ that why I use dbAppender. But when I try to test the log4j code the DBAppender class doesn’t got the query that I wrote and initialize it by a strange one :'INSERT INTO logging_event_property ... '
Here is my code .xml :
<appender name="CreerLog" class="org.apache.log4j.DBAppender">
<connectionSource class="org.apache.log4j.receivers.db.JNDIConnectionSource">
<param name="jndiLocation" value="moduleDS" />
</connectionSource>
<param name="ConversionPattern" value="INSERT INTO FICHIERLOG ( ID, DATECREATION, CONTENUFICHIER) VALUES (BLT_FICHIERLOG_SEQ.nextval, SYSDATE, null)"/>
</appender>