code: public ResultSet runSelect(String logMessage, String query, Object[] arguments) throws SQLException {
          long before = System.currentTimeMillis();
          try {
              return runSelect(query, arguments);
          }
          finally {
              if (logger.isDebugEnabled()) {
                  long after = System.currentTimeMillis();
                  logger.debug(logMessage + " (" + (after - before) + " ms): " + DbAccess.substitute(query, arguments));
              }
          }
      }
docs: Ordinarily db query logging is at TRACE level.  Use this method
  to log queries at DEBUG level.