LOGSTASH-1066 - fix debug puts statement and whitespace