Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.39 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.39 KB

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: [email protected]

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