LogManager logManager = LogManager.getLogManager();
Handler handler = new ConsoleHandler();
handler.setLevel(Level.ALL);
Logger connLOG = Logger.getLogger(SybConnection.class.getName());
connLOG.addHandler(handler);
connLOG.setLevel(Level.FINE);
logManager.addLogger(connLOG);
Logger stmtLOG = Logger.getLogger(SybStatement.class.getName());
stmtLOG.addHandler(handler);
stmtLOG.setLevel(Level.FINE);
logManager.addLogger(stmtLOG);