Java tutorial
import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; public class Test { public static void main(String[] args) throws Exception { Connection conn = DriverManager.getConnection("...", "username", "password"); Driver driver = DriverManager.getDriver("jdbc:derby://localhost:1527"); System.out.println("Parent Logger" + driver.getParentLogger()); } }