6
6
use std:: { collections:: HashMap , path:: PathBuf } ;
7
7
8
8
use disks:: BlockDevice ;
9
- use log:: { debug, info , trace, warn} ;
9
+ use log:: { debug, trace, warn} ;
10
10
use partitioning:: {
11
11
planner:: { Planner , PARTITION_ALIGNMENT } ,
12
12
strategy:: { AllocationStrategy , PartitionRequest , SizeRequirement , Strategy } ,
@@ -61,7 +61,7 @@ impl<'a> Provisioner<'a> {
61
61
62
62
/// Add a strategy configuration
63
63
pub fn add_strategy ( & mut self , config : & ' a StrategyDefinition ) {
64
- info ! ( "Adding strategy: {}" , config. name) ;
64
+ debug ! ( "Adding strategy: {}" , config. name) ;
65
65
self . configs . insert ( config. name . clone ( ) , config) ;
66
66
}
67
67
@@ -86,7 +86,7 @@ impl<'a> Provisioner<'a> {
86
86
87
87
/// Attempt all strategies on the pool of devices
88
88
pub fn plan ( & self ) -> Vec < Plan > {
89
- info ! ( "Planning device provisioning" ) ;
89
+ trace ! ( "Planning device provisioning" ) ;
90
90
let mut plans = Vec :: new ( ) ;
91
91
for strategy in self . configs . values ( ) {
92
92
debug ! ( "Attempting strategy: {}" , strategy. name) ;
0 commit comments