ExceptionNotificationModerate
This gem blocks same error notifications that is sended by ExceptionNotification in short time.
Installation
Add this line to your application's Gemfile:
gem 'exception_notification_moderate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install exception_notification_moderate
Usage
- Set Redis Host
- Set logger class
ExceptionNotificationModerate.configure do |config|
config.redis_host = 'localhost'
config.logger = Logger.new('./log/ex_notification.log')
end
Contributing
- Fork it ( https://github.com/ryonext/exception_notification_moderate/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request