ruby - Is there a way to make shotgun output requests? -
when run sinatra
app without shotgun
, tells every request being done:
$ ruby app.rb [2014-03-21 16:56:03] info webrick 1.3.1 [2014-03-21 16:56:03] info ruby 2.0.0 (2013-06-27) [x86_64-linux] == sinatra/1.4.4 has taken stage on 4567 development backup webrick [2014-03-21 16:56:03] info webrick::httpserver#start: pid=27957 port=4567 127.0.0.1 - - [21/mar/2014 16:56:07] "get / http/1.1" 200 12 0.0019 localhost - - [21/mar/2014:16:56:07 eet] "get / http/1.0" 200 12 - -> /
shotgun
doesn't this:
$ shotgun -p 4567 app.rb == shotgun/webrick on http://127.0.0.1:4567/ [2014-03-21 16:58:05] info webrick 1.3.1 [2014-03-21 16:58:05] info ruby 2.0.0 (2013-06-27) [x86_64-linux] [2014-03-21 16:58:05] info webrick::httpserver#start: pid=28322 port=4567
is there way make shotgun
work same way?
Comments
Post a Comment