Creation or Update of a Correlation Log Filter

Persists the domain log filters for later usage.

Syntax

void saveDomainLogFilters(Collection<DomainLogFilterVO> filters) throws SUPAdminException; 

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • DomainLogFilterVO dlfvo = new DomainLogFilterVO(DOMAIN_LOG_CATEGORY.ALL);
    FilterExpression<DOMAIN_LOG_FILTER> fe = new FilterExpression< DOMAIN_LOG_FILTER >();
    FilterExpression< DOMAIN_LOG_FILTER > fe1 = new FilterExpression< DOMAIN_LOG_FILTER >();
    fe1 = fe.eq(DOMAIN_LOG_FILTER.APPLICATION_CONNECTION_ID, "emulator1").and(
    fe.eq(DOMAIN_LOG_FILTER.DOMAIN, "default")).or(fe.eq(DOMAIN_LOG_FILTER.PACKAGE, "sap_crm:1.0"));
    dlfvo.setFilterExpression(fe1);
    domainLog.saveDomainLogFilters(Arrays.asList(new DomainLogFilterVO[]{dlfvo}));