Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

logging warnings (not errors) in a rails application, and managing them

I'm looking for a good process to handle warnings/info type messages in Rails applications. For example, how many times users type in the wrong password, how many times validations for models fail, etc. Particularly, I'm looking for an efficient way to operationalize these metrics, since they aren't exceptions but could indicate potential bugs or issues in functionality.

Solutions I'm kicking around are:

  • Logging WARNING or INFO messages and using Splunk to parse them (unfortunately Splunk is ver expensive)
  • Sending Airbrake errors in a WARNING environment
like image 578
phillee Avatar asked Jun 22 '12 23:06

phillee


1 Answers

You should have a look at Papertrail as an alternative to Splunk+Airbrake. Seems like a better fit if you're just interested in logging.

like image 161
bowsersenior Avatar answered Oct 02 '22 14:10

bowsersenior