Merge pull request #9143 from zmstone/1012-fix-remsh-prefix-match-for-rpc-log-mute

fix: remsh prefix may not include an underscore
This commit is contained in:
JianBo He 2022-10-12 19:14:18 +08:00 committed by GitHub
commit 23643680e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ maybe_mute_rpc_log(Node) when Node =:= node() ->
ok;
maybe_mute_rpc_log(Node) ->
case atom_to_list(Node) of
"remsh_" ++ _ ->
"remsh" ++ _ ->
%% this is either an upgrade script or nodetool
%% do nothing, the log may go to the 'emqx' command line console
ok;