he front of PatternLayout in the config file.
Sorry about that.
-Original Message-
From: Lutz Michael
Sent: Wednesday, February 26, 2003 4:40 PM
To: 'Log4J Users List'
Subject: RE: JDBCAppender - passing parameters to SQL statement
Here's an example, working config
Hi John,
The problem you described is almost the saem I also faced. Apart from MDC
(as key value pair per thread basis), I would like to go for custom message
rendered through ObjectRenderer. We could not do enough R&D in our team,
due to time-constraints upto now. Otherwise I could have managed
Wooops, 1 minor correction.
"Lgg" shouldn't be on the front of PatternLayout in the config file.
Sorry about that.
-Original Message-
From: Lutz Michael
Sent: Wednesday, February 26, 2003 4:40 PM
To: 'Log4J Users List'
Subject: RE: JDBCAppender - passing pa
Here's an example, working config file that includes usage of the JDBC
Appender similarly to your example.
# **
log4j.rootLogger=DEBUG, myJDBC
log4j.appender.myJDBC=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.myJDBC.URL=jdbc:microsoft:sqlserver:/