Rack::UsefulProcline
Make your proclines informative with some lovely middleware.
Instead of
unicorn master -p 5200
unicorn worker[0] -p 5200
See this
unicorn master -p 5200
unicorn worker[0] : last status: 200. last request_uuid: 53ebb737. Waiting for req.
unicorn worker[0] : GET : /all/the/things : cb18e336
Installation
Add this line to your application's Gemfile:
gem 'rack-useful_procline'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-useful_procline
Usage
Configure
Default config is:
Rack::UsefulProcline.configure do |config|
config.opts[:request_uuid_key] = 'action_dispatch.request_id'
config.opts[:show_request_uuid] = true
config.opts[:show_request_method] = true
config.opts[:show_request_path] = true
end
Use
use Rack::UsefulProcline
Contributing