Rails 4 bug
Fix
changes for rails 4.0.0 + logger