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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request