Stop logging result in WebAsyncManager

Closes gh-33406
This commit is contained in:
Sam Brannen
2024-08-19 13:53:06 +02:00
parent 50be08480d
commit b2c1f978a4

View File

@@ -387,16 +387,15 @@ public final class WebAsyncManager {
synchronized (WebAsyncManager.this) { synchronized (WebAsyncManager.this) {
if (!this.state.compareAndSet(State.ASYNC_PROCESSING, State.RESULT_SET)) { if (!this.state.compareAndSet(State.ASYNC_PROCESSING, State.RESULT_SET)) {
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("Async result already set: " + logger.debug("Async result already set: [" + this.state.get() +
"[" + this.state.get() + "], ignored result: " + result + "], ignored result for " + formatUri(this.asyncWebRequest));
" for " + formatUri(this.asyncWebRequest));
} }
return; return;
} }
this.concurrentResult = result; this.concurrentResult = result;
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("Async result set to: " + result + " for " + formatUri(this.asyncWebRequest)); logger.debug("Async result set for " + formatUri(this.asyncWebRequest));
} }
if (this.asyncWebRequest.isAsyncComplete()) { if (this.asyncWebRequest.isAsyncComplete()) {