Skip to content

Commit dfdc354

Browse files
Bohdan Kurylovychborzun
authored andcommitted
Improved logs for NetworkAndroid and HttpClient
Improved NetworkAndroid logs by adding requests ids and this pointer. Relates to: OLPEDGE-1051 Signed-off-by: Bohdan Kurylovych <[email protected]>
1 parent 995fb15 commit dfdc354

File tree

2 files changed

+130
-92
lines changed

2 files changed

+130
-92
lines changed

olp-cpp-sdk-core/src/http/android/HttpClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ public Request(
117117
case 6:
118118
case 7:
119119
this.proxyType = Proxy.Type.SOCKS;
120-
Log.e(
120+
Log.w(
121121
LOGTAG,
122122
"HttpClient::Request(): Unsupported proxy version ("
123123
+ proxyType
124124
+ "). Falling back to SOCKS4(4)");
125125
break;
126126
default:
127-
Log.e(
127+
Log.w(
128128
LOGTAG,
129129
"HttpClient::Request(): Unsupported proxy version ("
130130
+ proxyType

0 commit comments

Comments
 (0)