Changed logger statements for non-activerecord classes

- Changed logger statements to Rails.logger for non-activerecord
  classes.