Update template.rb
Update log statements