@@ -602,11 +602,11 @@ maybe_migrate(ByNode, MaxQueuesDesired, [N | Nodes]) ->
602602 {not_migrated , update_not_migrated_queue (N , Queue , Queues , ByNode )};
603603 _ ->
604604 [{Length , Destination } | _ ] = sort_by_number_of_queues (Candidates , ByNode ),
605- _ = rabbit_log :warning (" Migrating queue ~p from node ~p with ~p queues to node ~p with ~p queues" ,
605+ _ = rabbit_log :info (" Migrating queue ~p from node ~p with ~p queues to node ~p with ~p queues" ,
606606 [Name , N , length (All ), Destination , Length ]),
607607 case Module :transfer_leadership (Q , Destination ) of
608608 {migrated , NewNode } ->
609- _ = rabbit_log :warning (" Queue ~p migrated to ~p " , [Name , NewNode ]),
609+ _ = rabbit_log :info (" Queue ~p migrated to ~p " , [Name , NewNode ]),
610610 {migrated , update_migrated_queue (Destination , N , Queue , Queues , ByNode )};
611611 {not_migrated , Reason } ->
612612 _ = rabbit_log :warning (" Error migrating queue ~p : ~p " , [Name , Reason ]),
@@ -618,7 +618,7 @@ maybe_migrate(ByNode, MaxQueuesDesired, [N | Nodes]) ->
618618 " Do nothing" , [N , length (All )]),
619619 maybe_migrate (ByNode , MaxQueuesDesired , Nodes );
620620 All ->
621- _ = rabbit_log :warning (" Node ~p only contains ~p queues, do nothing" ,
621+ _ = rabbit_log :debug (" Node ~p only contains ~p queues, do nothing" ,
622622 [N , length (All )]),
623623 maybe_migrate (ByNode , MaxQueuesDesired , Nodes )
624624 end .
0 commit comments