Apply formatValue to a few remaining places
Issue: SPR-17254
This commit is contained in:
parent
e62298eaad
commit
12240c7524
|
@ -134,7 +134,8 @@ public class FormHttpMessageWriter extends LoggingCodecSupport
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
String s = Hints.getLogPrefix(hints) + "Writing " +
|
String s = Hints.getLogPrefix(hints) + "Writing " +
|
||||||
(isEnableLoggingRequestDetails() ?
|
(isEnableLoggingRequestDetails() ?
|
||||||
form.toString() : "form fields " + form.keySet() + " (content masked)");
|
formatValue(form, logger.isTraceEnabled()) :
|
||||||
|
"form fields " + form.keySet() + " (content masked)");
|
||||||
if (logger.isTraceEnabled()) {
|
if (logger.isTraceEnabled()) {
|
||||||
logger.trace(s);
|
logger.trace(s);
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,8 @@ public class MultipartHttpMessageReader extends LoggingCodecSupport
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
String s = Hints.getLogPrefix(hints) + "Parsed " +
|
String s = Hints.getLogPrefix(hints) + "Parsed " +
|
||||||
(isEnableLoggingRequestDetails() ?
|
(isEnableLoggingRequestDetails() ?
|
||||||
map.toString() : "parts " + map.keySet() + " (content masked)");
|
formatValue(map, logger.isTraceEnabled()) :
|
||||||
|
"parts " + map.keySet() + " (content masked)");
|
||||||
if (logger.isTraceEnabled()) {
|
if (logger.isTraceEnabled()) {
|
||||||
logger.trace(s);
|
logger.trace(s);
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,7 +228,8 @@ public class MultipartHttpMessageWriter extends LoggingCodecSupport
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
String s = Hints.getLogPrefix(hints) + "Encoding " +
|
String s = Hints.getLogPrefix(hints) + "Encoding " +
|
||||||
(isEnableLoggingRequestDetails() ?
|
(isEnableLoggingRequestDetails() ?
|
||||||
map.toString() : "parts " + map.keySet() + " (content masked)");
|
formatValue(map, logger.isTraceEnabled()) :
|
||||||
|
"parts " + map.keySet() + " (content masked)");
|
||||||
if (logger.isTraceEnabled()) {
|
if (logger.isTraceEnabled()) {
|
||||||
logger.trace(s);
|
logger.trace(s);
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,8 +96,10 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
|
||||||
return Flux.create(new SynchronossPartGenerator(message, this.bufferFactory, this.streamStorageFactory))
|
return Flux.create(new SynchronossPartGenerator(message, this.bufferFactory, this.streamStorageFactory))
|
||||||
.doOnNext(part -> {
|
.doOnNext(part -> {
|
||||||
if (logger.isDebugEnabled() && !Hints.isLoggingSuppressed(hints)) {
|
if (logger.isDebugEnabled() && !Hints.isLoggingSuppressed(hints)) {
|
||||||
String s = Hints.getLogPrefix(hints) + "Parsed " + (isEnableLoggingRequestDetails() ?
|
String s = Hints.getLogPrefix(hints) + "Parsed " +
|
||||||
part.toString() : "parts '" + part.name() + "' (content masked)");
|
(isEnableLoggingRequestDetails() ?
|
||||||
|
formatValue(part, logger.isTraceEnabled()) :
|
||||||
|
"parts '" + part.name() + "' (content masked)");
|
||||||
if (logger.isTraceEnabled()) {
|
if (logger.isTraceEnabled()) {
|
||||||
logger.trace(s);
|
logger.trace(s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue