diff options
author | Jakob Odersky <jakob@driver.xyz> | 2018-02-01 12:56:31 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2018-02-01 12:56:31 -0800 |
commit | e848f3822e934e1656b2008dc956b50fa53cc20a (patch) | |
tree | be55e82e458bc26deba5d8a04634dd4ed4f7525d /src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala | |
parent | 2fd1f86a3c493a0f1d4fe6097ad0a07864ca8d0a (diff) | |
download | driver-core-ad809c9b99b51e1b9b9cad4a7da124d51d948af6.tar.gz driver-core-ad809c9b99b51e1b9b9cad4a7da124d51d948af6.tar.bz2 driver-core-ad809c9b99b51e1b9b9cad4a7da124d51d948af6.zip |
Reduce log levelsv1.7.3
Amends #107
Diffstat (limited to 'src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala')
-rw-r--r-- | src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala b/src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala index fb77b13..e54f722 100644 --- a/src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala +++ b/src/main/scala/xyz/driver/core/rest/HttpRestServiceTransport.scala @@ -52,11 +52,10 @@ class HttpRestServiceTransport( response.onComplete { case Success(r) => val responseLatency = requestTime.durationTo(time.currentTime()) - log.info(s"Response from ${request.uri} to request $requestStub is successful in $responseLatency ms: $r") + log.debug(s"Response from ${request.uri} to request $requestStub is successful in $responseLatency ms: $r") case Failure(t: Throwable) => val responseLatency = requestTime.durationTo(time.currentTime()) - log.info(s"Failed to receive response from ${request.method} ${request.uri} in $responseLatency ms", t) log.warn(s"Failed to receive response from ${request.method} ${request.uri} in $responseLatency ms", t) }(executionContext) |