Commit a8c035ee authored by Stefan Lankes's avatar Stefan Lankes
Browse files

using log macros to control the output messages

parent 2bd82b7f
......@@ -200,7 +200,7 @@ fn main() {
// per default we use huge page to improve the performace,
// if the kernel supports transparent hugepages
let hugepage_default = utils::transparent_hugepages_available().unwrap_or(true);
println!("Default hugepages set to: {}", hugepage_default);
info!("Default hugepages set to: {}", hugepage_default);
// HERMIT_HUGEPAGES overrides the default we detected.
let mut hugepage: bool = utils::parse_bool("HERMIT_HUGEPAGE", hugepage_default);
if matches.is_present("DISABLE_HUGEPAGE") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment