Fixed Rails 4 logging