shadabahmed / logstasher

Awesome rails logs
MIT License
817 stars 136 forks source link

Devise before_filter :authenticate_user! no status or custom fields #77

Open maxstudener opened 9 years ago

maxstudener commented 9 years ago

if your not logged with devise and you hit a controller action that has the before filter authenticate_user! devise returns a 401 but in the log file it says status 0 and it also doesn't hit the initializer to add in the custom fields.

tspacek commented 8 years ago

:+1:

Anyone know of a fix or workaround for this?

tspacek commented 8 years ago

I think I fixed this with https://github.com/htdc/logstasher/commit/f1a33806650bd1513e68e7e649ab0c384f3bb525