Skip to content

Commit 6419ace

Browse files
committed
Change req/resp log to INFO
1 parent 882a106 commit 6419ace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/commonjava/util/gateway/util/WebClientAdapter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public Uni<Response> enqueue()
315315

316316
final HttpUrl url = call.request().url();
317317
final String method = call.request().method();
318-
logger.debug( "Starting upstream request: [{}] {}", method, url );
318+
logger.info( "Starting upstream request: [{}] {}", method, url );
319319

320320
span.setAttribute( SemanticAttributes.HTTP_METHOD, method );
321321
span.setAttribute( SemanticAttributes.HTTP_HOST, url.host() );
@@ -335,7 +335,7 @@ public void onFailure( @NotNull Call call, @NotNull IOException e )
335335
scope.close();
336336
span.end();
337337

338-
logger.debug( "Failed: [" + method + "] " + url, e );
338+
logger.info( "Failed: [" + method + "] " + url, e );
339339
p.fail( e );
340340
}
341341

@@ -351,7 +351,7 @@ public void onResponse( @NotNull Call call, @NotNull Response response )
351351
scope.close();
352352
span.end();
353353

354-
logger.debug( "Success: [" + method + "] " + url + " -> " + response.code() );
354+
logger.info( "Success: [" + method + "] " + url + " -> " + response.code() );
355355
p.complete( response );
356356
}
357357
} );

0 commit comments

Comments
 (0)