I switched over to JDBC logging to my database a couple days ago. Setup
the tables in the DB, granted permissions to the DB user, and it all works
great...except for a lag time in the login process now. It is taking
about 20 seconds to login. The login process is quite simple ? takes the
inputs from the form (usename/password) then does a compare with the
database, sets some environment variables, etc. Then returns. There are
some log4j debug messages in there, but not many more than any other
process or task.
I switched out the new JDBC version of my log4j.properties file and went
back to my RollingFileAppender version and it?s back to ~ 1 second to
It?s not a huge deal since the RollingFiles are just as convenient for me,
but it would be really nice to be using the JDBC and be able to do some
queries on it.
Just wondering if anyone else was experiencing this or if (again) it is
just me. :)