summaryrefslogtreecommitdiff
path: root/lib/chef/log.rb
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2015-04-23 16:37:31 +0900
committerLamont Granquist <lamont@scriptkiddie.org>2015-05-06 15:09:44 -0700
commit8a5d5a7501bb6763e2dc65c8874aff5a1d5e9d50 (patch)
tree0281d860e1bff8a489fda007214c21437621fa79 /lib/chef/log.rb
parent3c5f6827558a50581395df22509ad7ad728a1625 (diff)
downloadchef-8a5d5a7501bb6763e2dc65c8874aff5a1d5e9d50.tar.gz
strip message
Diffstat (limited to 'lib/chef/log.rb')
-rw-r--r--lib/chef/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/log.rb b/lib/chef/log.rb
index 0835a9f2c5..2dd2896fd9 100644
--- a/lib/chef/log.rb
+++ b/lib/chef/log.rb
@@ -41,7 +41,7 @@ class Chef
def write(message)
data = message.match(/(\[.+?\]) ([\w]+):(.*)$/)
- self.send(data[2].downcase.to_sym, data[3])
+ self.send(data[2].downcase.to_sym, data[3].strip)
rescue NoMethodError
self.send(:info, message)
end