Hi! ,

I am going to use log4j for logging in my application. We have a requirement
for logging in database. For this i have been
looking into JDBCAppender API and have some questions. 

1. For performance/efficieny reasons i will be using AsyncAppender tied
  to a JDBCAppender so that the client thread is decoupled from the db
operations. any problems
  using it in this way?
    

2. As the JDBC operation above is serial, would JDBCAppender use one JDBC
connection
   for writing [ so long as there's no problem with that connection ].

3. Can we dump the NDC stack for a client over to a DB column using
JDBCAppender?

4. Is there a way to configure JDBC appender so that it can be configured to
a named DataSource 
 rather than configuring the connect string? In this case it can use the
connection pooling feature 
 of a j2ee server.


Thanks
Shiraz







Reply via email to