rails/rails — Issue #4683: ActiveSupport 3.2.0 logging exception
Author: wtn
Created: 2012-01-26 04:07:34+00:00
State: open

In my console, I see the following error each time an exception gets raised in my application:

```Could not log "process_action.action_controller" event. ArgumentError: wrong number of arguments (1 for 0)```

This code gets called from the `log_subscriber.rb` source file:

```
def call(message, *args)
return unless logger

method = message.split('.').first
begin
send(method, ActiveSupport::Notifications::Event.new(message, *args))
rescue Exception => e
logger.error "Could not log #{message.inspect} event. #{e.class}: #{e.message}"
end
end
```

I am starting with a freshly generated Rails 3.2 application. I haven't changed any logger settings.