Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit e30246c

Browse files
authored
Merge pull request #547 from owncloud/release/2.0.3
[Release] 2.0.3
2 parents f8da84d + 602b7e7 commit e30246c

File tree

1 file changed

+2
-2
lines changed
  • owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/http

1 file changed

+2
-2
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/http/LogInterceptor.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class LogInterceptor : Interceptor {
5151

5252
val request = chain.request().also {
5353
val requestId = it.headers[OC_X_REQUEST_ID]
54-
logHttp(REQUEST, INFO, requestId, "Type: ${it.method} URL: ${it.url}")
54+
logHttp(REQUEST, INFO, requestId, "Method: ${it.method} URL: ${it.url}")
5555
logHeaders(requestId, it.headers, REQUEST)
5656
logRequestBody(requestId, it.body)
5757
}
@@ -64,7 +64,7 @@ class LogInterceptor : Interceptor {
6464
RESPONSE,
6565
INFO,
6666
requestId,
67-
"Code: ${it.code} Message: ${it.message} IsSuccessful: ${it.isSuccessful}"
67+
"Method: ${request.method} URL: ${request.url} Code: ${it.code} Message: ${it.message}"
6868
)
6969
logHeaders(requestId, it.headers, RESPONSE)
7070
logResponseBody(requestId, it.body)

0 commit comments

Comments
 (0)