Improved logging.

This commit is contained in:
Martin Edenhofer 2015-05-05 12:50:31 +02:00
parent 1b16d71e66
commit 3d20f51c56

View file

@ -102,7 +102,7 @@ module NotificationFactory
def self.send(data)
sender = Setting.get('notification_sender')
Rails.logger.info "NOTICE: SEND NOTIFICATION TO: #{data[:recipient][:email]} (from #{sender})"
Rails.logger.info "Send notification to: #{data[:recipient][:email]} (from #{sender})"
content_type = 'text/plain'
if data[:content_type]