66use std:: { collections:: HashMap , path:: PathBuf } ;
77
88use disks:: BlockDevice ;
9- use log:: { debug, info , trace, warn} ;
9+ use log:: { debug, trace, warn} ;
1010use partitioning:: {
1111 planner:: { Planner , PARTITION_ALIGNMENT } ,
1212 strategy:: { AllocationStrategy , PartitionRequest , SizeRequirement , Strategy } ,
@@ -61,7 +61,7 @@ impl<'a> Provisioner<'a> {
6161
6262 /// Add a strategy configuration
6363 pub fn add_strategy ( & mut self , config : & ' a StrategyDefinition ) {
64- info ! ( "Adding strategy: {}" , config. name) ;
64+ debug ! ( "Adding strategy: {}" , config. name) ;
6565 self . configs . insert ( config. name . clone ( ) , config) ;
6666 }
6767
@@ -86,7 +86,7 @@ impl<'a> Provisioner<'a> {
8686
8787 /// Attempt all strategies on the pool of devices
8888 pub fn plan ( & self ) -> Vec < Plan > {
89- info ! ( "Planning device provisioning" ) ;
89+ trace ! ( "Planning device provisioning" ) ;
9090 let mut plans = Vec :: new ( ) ;
9191 for strategy in self . configs . values ( ) {
9292 debug ! ( "Attempting strategy: {}" , strategy. name) ;
0 commit comments