lib/kafo/puppet_log_parser.rb in kafo-5.0.1 vs lib/kafo/puppet_log_parser.rb in kafo-5.1.0
- old
+ new
@@ -17,9 +17,9 @@
else
[@last_level.nil? ? :info : @last_level, line]
end
@last_level = method
- return [method, message.chomp]
+ return [method, message.chomp.strip]
end
end
end