0.01
No release in over 3 years
Low commit activity in last 3 years
Logging for Rails request/response lifecycle in a machine readable format (starting with Splunk)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

Runtime

 Project Readme

BetterLogs Build Status Gem Version Code Climate Code Climate

Better Logs adds an additional two log lines for all HTTP requests. Currently, it logs data in key=value pairs to allow for Splunk indexing.

format=html method=GET path=/ status=200  view_runtime=45.67 db_runtime=23.45 controller=rails/welcome action=index
remote_ip=127.0.0.1 browser_name=Chrome browser_platform=Macintosh browser_version=34.0.1847.131

Installation

Add this to your Gemfile

gem 'better_logs'

Get in touch!

If you're using better_logs, I'd love to hear from you. Drop me a line and tell me what you think at: kunal+better_logs@techthumb.in

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request