feat(ft-s3): fix logging

This commit is contained in:
Ilya Averyanov 2023-04-03 20:46:59 +03:00
parent 9bb72ee020
commit ca22f11161
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,