public List<CmsLogEntry> getLogEntries(CmsRequestContext context, CmsLogFilter filter) throws CmsException {

        List<CmsLogEntry> result = null;
        CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
        try {
            result = m_driverManager.getLogEntries(dbc, filter);
        } catch (Exception e) {
            dbc.report(null, Messages.get().container(Messages.ERR_READ_LOG_ENTRIES_0), e);
        } finally {
            dbc.clear();
        }
        return result;
    }
public List < CmsLogEntry > getLogEntries ( CmsRequestContext context , CmsLogFilter filter ) throws CmsException { List < CmsLogEntry > result = null ; CmsDbContext dbc = m_dbContextFactory . getDbContext ( context ) ; try { result = m_driverManager . getLogEntries ( dbc , filter ) ; } catch ( Exception e ) { dbc . report ( null , Messages . get ( ) . container ( Messages . ERR_READ_LOG_ENTRIES_0 ) , e ) ; } finally { dbc . clear ( ) ; } return result ; }
Returns all log entries matching the given filter.<p>

@param context the current user context
@param filter the filter to match the log entries

@return all log entries matching the given filter

@throws CmsException if something goes wrong

@see CmsObject#getLogEntries(CmsLogFilter)