@@ -511,11 +511,11 @@ maybe_migrate(ByNode, MaxQueuesDesired, [N | Nodes]) ->
511511 {not_migrated , update_not_migrated_queue (N , Queue , Queues , ByNode )};
512512 _ ->
513513 [{Length , Destination } | _ ] = sort_by_number_of_queues (Candidates , ByNode ),
514- rabbit_log :warning (" Migrating queue ~p from node ~p with ~p queues to node ~p with ~p queues" ,
514+ rabbit_log :info (" Migrating queue ~p from node ~p with ~p queues to node ~p with ~p queues" ,
515515 [Name , N , length (All ), Destination , Length ]),
516516 case Module :transfer_leadership (Q , Destination ) of
517517 {migrated , NewNode } ->
518- rabbit_log :warning (" Queue ~p migrated to ~p " , [Name , NewNode ]),
518+ rabbit_log :info (" Queue ~p migrated to ~p " , [Name , NewNode ]),
519519 {migrated , update_migrated_queue (Destination , N , Queue , Queues , ByNode )};
520520 {not_migrated , Reason } ->
521521 rabbit_log :warning (" Error migrating queue ~p : ~p " , [Name , Reason ]),
@@ -527,7 +527,7 @@ maybe_migrate(ByNode, MaxQueuesDesired, [N | Nodes]) ->
527527 " Do nothing" , [N , length (All )]),
528528 maybe_migrate (ByNode , MaxQueuesDesired , Nodes );
529529 All ->
530- rabbit_log :warning (" Node ~p only contains ~p queues, do nothing" ,
530+ rabbit_log :debug (" Node ~p only contains ~p queues, do nothing" ,
531531 [N , length (All )]),
532532 maybe_migrate (ByNode , MaxQueuesDesired , Nodes )
533533 end .
0 commit comments