Skip to content

Commit 020a36f

Browse files
committed
请求结束日志,不再打印请求体
1 parent e850a8f commit 020a36f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rxhttp/src/main/java/rxhttp/wrapper/utils/LogUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static void log(@NonNull Response response, String body) {
113113
.append(RxHttpVersion.userAgent).append(" ")
114114
.append(OkHttpCompat.getOkHttpUserAgent())
115115
.append(" request end ------>\n")
116-
.append(request.method()).append(" ").append(getEncodedUrlAndParams(request))
116+
.append(request.method()).append(" ").append(request.url())
117117
.append("\n\n").append(response.protocol()).append(" ")
118118
.append(response.code()).append(" ").append(response.message())
119119
.append(tookMs > 0 ? " " + tookMs + "ms" : "")

0 commit comments

Comments
 (0)