richpeck / exception_handler

Ruby on Rails Custom Error Pages
509 stars 70 forks source link

silence backtrace in log #79

Open joshco opened 5 years ago

joshco commented 5 years ago

I'm contemplating switching to this from exception_notifier. If I'm going to save or email the error details and stack traces, I'd like to keep them out of my logs. How can I setup exception_handler to avoid writing the stack traces to my logs?

richpeck commented 5 years ago

Hi Josh, I was sure this feature was included - however I can't seem to locate the code.

Would you like me to code it up real quick and push? It's just a case of silencing the logger for the exception.

joshco commented 5 years ago

if you can, that would be great.

styrken commented 4 years ago

I second this option