When sending emails via Actionmailer in Rails, it logs something like:
Sent mail to example@example.com (72ms)
Rendered mailer/_header.html.erb (0.0ms)
...
I would like to filter the emails from logs ala parameter filtering
Sent mail to [FILTERED] (72ms)
Rendered mailer/_header.html.erb (0.0ms)
...
Is there a clean way to do this? Alternatively, not logging the whole first line would be OK.