FileSafeLogger 
FileSafeLogger enable you to keep logging even if log file removed after initialize
Installation
Add this line to your application's Gemfile:
gem 'file_safe_logger'
And then execute:
$ bundle
Or install it yourself as:
$ gem install file_safe_logger
Usage
require 'file_safe_logger'
logger = FileSafeLogger.new('logfile.log')
Contributing
- Fork it ( https://github.com/takady/file_safe_logger/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