Changing logger to ActiveFedora::Base.logger or Rails.logger