Java JDBC Driver get parent logger

Description

Java JDBC Driver get parent logger

import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.SQLException;

public class Main {
   public static void main(String[] args) {
      try {//  www  .j av  a2 s  .  co  m
         Driver driver = DriverManager.getDriver("jdbc:derby://localhost:1527");
         System.out.println("Parent Logger" + driver.getParentLogger());
      } catch (SQLException ex) {
         ex.printStackTrace();
      }
   }

}



PreviousNext

Related