Example usage for java.sql Driver getParentLogger

List of usage examples for java.sql Driver getParentLogger

Introduction

In this page you can find the example usage for java.sql Driver getParentLogger.

Prototype

public Logger getParentLogger() throws SQLFeatureNotSupportedException;

Source Link

Document

Return the parent Logger of all the Loggers used by this driver.

Usage

From source file:Test.java

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());

}