kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject kafka git commit: MINOR: Request log should be enabled by debug level
Date Tue, 01 Aug 2017 16:10:37 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk cd4c6c018 -> 4086db472


MINOR: Request log should be enabled by debug level

At some point, we lost the ability to output request
logging at debug level (which is a little less
verbose than at trace level).

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #3595 from ijuma/fix-debug-request-log


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/4086db47
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/4086db47
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/4086db47

Branch: refs/heads/trunk
Commit: 4086db472d08f6dee4d30dda82ab9ff7b67d1a20
Parents: cd4c6c0
Author: Ismael Juma <ismael@juma.me.uk>
Authored: Tue Aug 1 09:10:28 2017 -0700
Committer: Jason Gustafson <jason@confluent.io>
Committed: Tue Aug 1 09:10:28 2017 -0700

----------------------------------------------------------------------
 core/src/main/scala/kafka/network/RequestChannel.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/4086db47/core/src/main/scala/kafka/network/RequestChannel.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/network/RequestChannel.scala b/core/src/main/scala/kafka/network/RequestChannel.scala
index 6b8dbaa..7553c10 100644
--- a/core/src/main/scala/kafka/network/RequestChannel.scala
+++ b/core/src/main/scala/kafka/network/RequestChannel.scala
@@ -198,7 +198,7 @@ object RequestChannel extends Logging {
         val apiThrottleTimeMs = nanosToMs(responseCompleteTimeNanos - apiRemoteCompleteTimeNanos)
         val responseQueueTimeMs = nanosToMs(responseDequeueTimeNanos - responseCompleteTimeNanos)
         val responseSendTimeMs = nanosToMs(endTimeNanos - responseDequeueTimeNanos)
-        requestLogger.trace("Completed request:%s from connection %s;totalTime:%f,requestQueueTime:%f,localTime:%f,remoteTime:%f,throttleTime:%f,responseQueueTime:%f,sendTime:%f,securityProtocol:%s,principal:%s,listener:%s"
+        requestLogger.debug("Completed request:%s from connection %s;totalTime:%f,requestQueueTime:%f,localTime:%f,remoteTime:%f,throttleTime:%f,responseQueueTime:%f,sendTime:%f,securityProtocol:%s,principal:%s,listener:%s"
           .format(requestDesc(detailsEnabled), connectionId, totalTimeMs, requestQueueTimeMs,
apiLocalTimeMs, apiRemoteTimeMs, apiThrottleTimeMs, responseQueueTimeMs, responseSendTimeMs,
securityProtocol, session.principal, listenerName.value))
       }
     }


Mime
View raw message