Skip to content

Commit

Permalink
[FLINK-8800][REST] Reduce logging of all requests to TRACE
Browse files Browse the repository at this point in the history
This closes apache#5594.
  • Loading branch information
zentol committed Mar 10, 2018
1 parent c19df9f commit 92133b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ protected AbstractHandler(

@Override
protected void respondAsLeader(ChannelHandlerContext ctx, Routed routed, T gateway) throws Exception {
if (log.isDebugEnabled()) {
log.debug("Received request " + routed.request().getUri() + '.');
if (log.isTraceEnabled()) {
log.trace("Received request " + routed.request().getUri() + '.');
}

final HttpRequest httpRequest = routed.request();
Expand Down

0 comments on commit 92133b7

Please sign in to comment.