shadabahmed / logstasher

Awesome rails logs
MIT License
821 stars 136 forks source link

Could not log "process_action.action_controller" event #45

Closed anlek closed 10 years ago

anlek commented 10 years ago

On Exceptions I get the following error: Could not log "process_action.action_controller" event. NoMethodError: undefined method<<' for nil:NilClasscoming fromlogstasher-0.2.8/lib/logstasher/log_subscriber.rb:17` I'm using rails 4.1.4.

anlek commented 10 years ago

It seems that this also might be causing ActionController::InvalidAuthenticityToken error on any form I submit.

Disabling logstasher seemed to have fixed this issue.

anlek commented 10 years ago

Wow, somehow rubygems installed version 0.2.8 (might be due to the fact that I had logstash-event version 1.2)

Fix (for anyone who has the same issue):

gem 'logstasher', '~> 0.5.3'
gem "logstash-event", "~> 1.1.0"
ishaansutaria commented 9 years ago

I am still getting into this issue

ishaansutaria commented 9 years ago

Could not log "process_action.action_controller" event. NoMethodError: undefined method `first' for nil:NilClass