src/main/java/com/arpnetworking/logback/StenoEncoder.java
public void setRedactEnabled(final boolean redactEnabled) {
        final SimpleFilterProvider simpleFilterProvider = new SimpleFilterProvider();
        if (redactEnabled) {
            simpleFilterProvider.addFilter(RedactionFilter.REDACTION_FILTER_ID, new RedactionFilter(!_redactNull));
        } else {
            simpleFilterProvider.addFilter(RedactionFilter.REDACTION_FILTER_ID,
                    SimpleBeanPropertyFilter.serializeAllExcept(Collections.<String>emptySet()));
        }
        _objectMapper.setFilterProvider(simpleFilterProvider);
        _redactEnabled = redactEnabled;
    }
public void setRedactEnabled(final boolean redactEnabled) {
        final SimpleFilterProvider simpleFilterProvider = new SimpleFilterProvider();
        if (redactEnabled) {
            simpleFilterProvider.addFilter(RedactionFilter.REDACTION_FILTER_ID, new RedactionFilter(!_redactNull));
        } else {
            simpleFilterProvider.addFilter(RedactionFilter.REDACTION_FILTER_ID,
                    SimpleBeanPropertyFilter.serializeAllExcept(Collections.<String>emptySet()));
        }
        _objectMapper.setFilterProvider(simpleFilterProvider);
        _redactEnabled = redactEnabled;
    }
Enables/Disables redaction support when serializing complex objects.  Redacted fields/properties marked
with the @LogRedact annotation will be output as a string with the value "{@code <REDACTED>}".

@param redactEnabled - true to filter out redacted fields

@since 1.1.0