Delay reference to Rails.logger until use.

Rails.logger is not available at config time, so wait until
the receiver is triggered to try and reference it.