getLogWriter()
PrintWriter out=null; out=DriverManager.getLogWriter(); if(out!=null){ out.println("得到資訊"); out.close(); }