feat(ft-s3): fix logging
This commit is contained in:
parent
9bb72ee020
commit
ca22f11161
|
@ -337,7 +337,7 @@ transfer(Msg, FileId) ->
|
||||||
{clientid_to_binary(ClientId), FileId}.
|
{clientid_to_binary(ClientId), FileId}.
|
||||||
|
|
||||||
on_complete(Op, {ChanPid, PacketId}, Transfer, Result) ->
|
on_complete(Op, {ChanPid, PacketId}, Transfer, Result) ->
|
||||||
?SLOG(warning, #{
|
?SLOG(debug, #{
|
||||||
msg => "on_complete",
|
msg => "on_complete",
|
||||||
operation => Op,
|
operation => Op,
|
||||||
packet_id => PacketId,
|
packet_id => PacketId,
|
||||||
|
|
|
@ -217,7 +217,7 @@ request_fun(HttpPool) ->
|
||||||
fun(Url, Method, Headers, Body, Timeout, _Config) ->
|
fun(Url, Method, Headers, Body, Timeout, _Config) ->
|
||||||
with_path_and_query_only(Url, fun(PathQuery) ->
|
with_path_and_query_only(Url, fun(PathQuery) ->
|
||||||
Request = make_request(Method, PathQuery, binary_headers(Headers), Body),
|
Request = make_request(Method, PathQuery, binary_headers(Headers), Body),
|
||||||
?SLOG(warning, #{
|
?SLOG(debug, #{
|
||||||
msg => "s3_ehttpc_request",
|
msg => "s3_ehttpc_request",
|
||||||
timeout => Timeout,
|
timeout => Timeout,
|
||||||
pool => HttpPool,
|
pool => HttpPool,
|
||||||
|
|
Loading…
Reference in New Issue