aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-03-17 00:37:13 -0700
committerelijah <elijah@riseup.net>2013-03-17 00:37:13 -0700
commit35229e4c4eecbe3a79e66dd8cf81d4103921cb7b (patch)
tree579f6cf04ecae05bbb20ecb191e9cd6402e3a913 /lib
parentf5a603cb2a94e677124d637bb22194ea57255b2b (diff)
downloadleap_cli-35229e4c4eecbe3a79e66dd8cf81d4103921cb7b.tar.gz
leap_cli-35229e4c4eecbe3a79e66dd8cf81d4103921cb7b.tar.bz2
hide 'executed successfully' puppet notices at default log level.
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/logger.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/logger.rb b/lib/leap_cli/logger.rb
index e700ee6..1aa7971 100644
--- a/lib/leap_cli/logger.rb
+++ b/lib/leap_cli/logger.rb
@@ -118,6 +118,7 @@ module LeapCli
{ :match => /^warning: .*is deprecated.*$/, :level => 2, :color => :yellow, :priority => -10},
{ :match => /^warning: Scope.*$/, :level => 2, :color => :yellow, :priority => -10},
{ :match => /^notice:/, :level => 1, :color => :cyan, :priority => -20},
+ { :match => /^notice:.*executed successfully$/, :level => 2, :color => :cyan, :priority => -15},
{ :match => /^warning:/, :level => 0, :color => :yellow, :priority => -20},
{ :match => /^Duplicate declaration:/, :level => 0, :color => :red, :priority => -20},
{ :match => /Finished catalog run/, :level => 0, :color => :green, :priority => -10},