Update base.rb

Adding some logs