private Connection getConnection() throws SQLException {
        if (useConnectionProvider) {
            return DbConnectionManager.getConnection();
        } else
        {
            return DriverManager.getConnection(connectionString);
        }
    }
Make sure that Log.isDebugEnabled()==true before calling this method.
Twenty elements will be logged in every log line, so for 81-100 elements
five log lines will be generated
@param listElements a list of Strings which will be logged
xmppserver/src/main/java/org/jivesoftware/openfire/user/JDBCUserProvider.java