How can I get or redirect the log used by DriverManager and JDBC drivers?
Location: http://www.jguru.com/faq/view.jsp?EID=594586 Created: Dec 23, 2001 Author: Joe Sam Shirah (http://www.jguru.com/guru/viewbio.jsp?EID=42100) As of JDBC 2.0, use DriverManager.getLogWriter() and DriverManager.setLogWriter(PrintWriter out). Prior to JDBC 2.0, the DriverManager methods getLogStream() and setLogStream(PrintStream out) were used. These are now deprecated.