Improved logging for Ruby on Rails