From 75cf562c903662f27ccc410de619d2659074ab84 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Thu, 25 May 2023 13:02:04 +0300 Subject: [PATCH] fix(ft): tune some logging levels --- apps/emqx_s3/src/emqx_s3_profile_conf.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/emqx_s3/src/emqx_s3_profile_conf.erl b/apps/emqx_s3/src/emqx_s3_profile_conf.erl index 87f006bcb..a449640a6 100644 --- a/apps/emqx_s3/src/emqx_s3_profile_conf.erl +++ b/apps/emqx_s3/src/emqx_s3_profile_conf.erl @@ -11,7 +11,7 @@ -include_lib("snabbkaffe/include/snabbkaffe.hrl"). --include("src/emqx_s3.hrl"). +-include("emqx_s3.hrl"). -export([ start_link/2, @@ -377,10 +377,10 @@ stop_http_pool(ProfileId, PoolName) -> ok = ?tp(debug, "s3_stop_http_pool", #{pool_name => PoolName}). do_start_http_pool(PoolName, HttpConfig) -> - ?SLOG(warning, #{msg => "s3_start_http_pool", pool_name => PoolName, config => HttpConfig}), + ?SLOG(debug, #{msg => "s3_starting_http_pool", pool_name => PoolName, config => HttpConfig}), case ehttpc_sup:start_pool(PoolName, HttpConfig) of {ok, _} -> - ?SLOG(warning, #{msg => "s3_start_http_pool_success", pool_name => PoolName}), + ?SLOG(info, #{msg => "s3_start_http_pool_success", pool_name => PoolName}), ok; {error, _} = Error -> ?SLOG(error, #{msg => "s3_start_http_pool_fail", pool_name => PoolName, error => Error}),