org.springframework.core.codec.Encoder ,
org.springframework.core.codec.Decoder , HttpMessageReader, or
HttpMessageWriter that uses a logger and shows potentially sensitive
request data.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | enableLoggingRequestDetails
Whether to log potentially sensitive info (form data at DEBUG and headers at TRACE). |
| protected final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isEnableLoggingRequestDetails()
Whether any logging of values being encoded or decoded is explicitly disabled regardless of log level. |
| public void | setEnableLoggingRequestDetails(boolean
whether to enable or not enable)Whether to log form data at DEBUG level, and headers at TRACE level. |
| enableLoggingRequestDetails | back to summary |
|---|---|
| private boolean enableLoggingRequestDetails Whether to log potentially sensitive info (form data at DEBUG and headers at TRACE). | |
| logger | back to summary |
|---|---|
| protected final Log logger | |
| LoggingCodecSupport | back to summary |
|---|---|
| public LoggingCodecSupport() | |
| isEnableLoggingRequestDetails | back to summary |
|---|---|
| public boolean isEnableLoggingRequestDetails() Whether any logging of values being encoded or decoded is explicitly disabled regardless of log level. | |
| setEnableLoggingRequestDetails | back to summary |
|---|---|
| public void setEnableLoggingRequestDetails(boolean enable) Whether to log form data at DEBUG level, and headers at TRACE level. Both may contain sensitive information. By default set to
| |