From 491356c938ef1169f89e5155861f04c865bf4a11 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 3 Feb 2013 10:33:39 -0800 Subject: [PATCH] Better logging for prune --- plugins/commands/plugin/action/prune_gems.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/commands/plugin/action/prune_gems.rb b/plugins/commands/plugin/action/prune_gems.rb index db9750baa..e90ede8f9 100644 --- a/plugins/commands/plugin/action/prune_gems.rb +++ b/plugins/commands/plugin/action/prune_gems.rb @@ -120,7 +120,8 @@ module VagrantPlugins # Figure out the gems we need to prune prune_specs = all_specs - good_specs - @logger.info("Gems to prune: #{prune_specs.inspect}") + @logger.debug("Gems to prune: #{prune_specs.inspect}") + @logger.info("Pruning #{prune_specs.length} gems.") if prune_specs.length > 0 env[:gem_helper].with_environment do