chore: refine data sync debug log messages
This commit is contained in:
parent
ed1ad4e684
commit
1e0b2de0ea
|
@ -210,9 +210,13 @@ sync_data_from_node(Node) ->
|
||||||
{ok, DataBin} ->
|
{ok, DataBin} ->
|
||||||
case zip:unzip(DataBin, [{cwd, emqx:data_dir()}]) of
|
case zip:unzip(DataBin, [{cwd, emqx:data_dir()}]) of
|
||||||
{ok, []} ->
|
{ok, []} ->
|
||||||
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_ignore"});
|
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_empty_response"});
|
||||||
{ok, Files} ->
|
{ok, Files} ->
|
||||||
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_ok", files => Files})
|
?SLOG(debug, #{
|
||||||
|
node => Node,
|
||||||
|
msg => "sync_data_from_node_non_empty_response",
|
||||||
|
files => Files
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
ok;
|
ok;
|
||||||
Error ->
|
Error ->
|
||||||
|
|
Loading…
Reference in New Issue