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} ->
|
||||
case zip:unzip(DataBin, [{cwd, emqx:data_dir()}]) of
|
||||
{ok, []} ->
|
||||
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_ignore"});
|
||||
?SLOG(debug, #{node => Node, msg => "sync_data_from_node_empty_response"});
|
||||
{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,
|
||||
ok;
|
||||
Error ->
|
||||
|
|
Loading…
Reference in New Issue