Add logging to email_verification.log

This commit is contained in:
Alex Sherman 2020-06-16 14:31:16 +05:00
parent 57cd588eee
commit b0332a7abd
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ class VerifyEmailsJob < Que::Job
end
def logger
Rails.logger
@logger ||= Logger.new(Rails.root.join('log', 'email_verification.log'))
end
def log_success(verification)