]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
hide 'executed successfully' puppet notices at default log level.
authorelijah <elijah@riseup.net>
Sun, 17 Mar 2013 07:37:13 +0000 (00:37 -0700)
committerelijah <elijah@riseup.net>
Sun, 17 Mar 2013 07:37:13 +0000 (00:37 -0700)
lib/leap_cli/logger.rb

index e700ee6220d4b74714d9e9fa45e9daf83e3f0a54..1aa797116689bb1b902fdf3e801174291e1b648d 100644 (file)
@@ -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},