Hi
am trying to connect to database and wants to insert one simple row to a table with this log4j.properties file...
log4j.rootLogger=debug,A1
#A1 is Database Appender
log4j.appender.A1 =org.apache.log4j.jdbc.JDBCAppender
log4j.appender.A1.url=jdbc

dbc:indu1
log4j.appender.A1.user=scott
log4j.appender.A1.password=indu
#log4j.appender.A1.driver=sun.jdbc.odbc.JdbcOdbcDriver
log4j.appender.A1.oracle=INSERT INTO NAME_PASSWORD values('ppp','ppp')
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
I tested this with one simple testconnection javaclass, and working fine...
But with log4j.properties, the database is not connecting...
can anyone please tell me the reason ...
thanks
indu
[ November 04, 2008: Message edited by: Martijn Verburg ]