public class FSDProtectedLogListener extends java.lang.Object implements LogListener, Configurable
Order is important. In the previous example SimpleLogListener will dump unprotected LogEvents while RotateLogListener will dump protected ones (for selected fields)
Configurable| Modifier and Type | Field and Description |
|---|---|
static byte[] |
BINARY_WIPED |
static java.lang.String |
WIPED |
| Constructor and Description |
|---|
FSDProtectedLogListener() |
| Modifier and Type | Method and Description |
|---|---|
LogEvent |
log(LogEvent ev) |
void |
setConfiguration(Configuration cfg)
Configure this FSDProtectedLogListener
Properties: [protect] blank separated list of fields to be protected [wipe] blank separated list of fields to be wiped [truncate] blank separated list of fields:length to be truncated |
public static final java.lang.String WIPED
public static final byte[] BINARY_WIPED
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration in interface Configurablecfg - ConfigurationConfigurationExceptionpublic LogEvent log(LogEvent ev)
log in interface LogListener