Skip to content

Instantly share code, notes, and snippets.

@rgrove
Created April 26, 2009 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgrove/101926 to your computer and use it in GitHub Desktop.
Save rgrove/101926 to your computer and use it in GitHub Desktop.
$ ruby route_test.rb
W [2009-04-25 23:49:56 $27423] WARN | : No explicit root folder found, assuming it is .
D [2009-04-25 23:49:56 $27423] DEBUG | : Using webrick
I [2009-04-25 23:49:56 $27423] INFO | : WEBrick 1.3.1
I [2009-04-25 23:49:56 $27423] INFO | : ruby 1.8.6 (2008-03-03) [universal-darwin9.0]
D [2009-04-25 23:49:56 $27423] DEBUG | : TCPServer.new(0.0.0.0, 7000)
D [2009-04-25 23:49:56 $27423] DEBUG | : Rack::Handler::WEBrick is mounted on /.
I [2009-04-25 23:49:56 $27423] INFO | : WEBrick::HTTPServer#start: pid=27423 port=7000
D [2009-04-25 23:50:05 $27423] DEBUG | : accept: 127.0.0.1:57986
D [2009-04-25 23:50:05 $27423] DEBUG | : Rack::Handler::WEBrick is invoked.
D [2009-04-25 23:50:05 $27423] DEBUG | : resolving /
127.0.0.1 - - [25/Apr/2009 23:50:05] "GET / HTTP/1.1" 200 53 0.0045
localhost - - [25/Apr/2009:23:50:05 PDT] "GET / HTTP/1.1" 200 53
- -> /
D [2009-04-25 23:50:07 $27423] DEBUG | : Rack::Handler::WEBrick is invoked.
127.0.0.1 - - [25/Apr/2009 23:50:07] "GET /test.txt HTTP/1.1" 200 17 0.0016
localhost - - [25/Apr/2009:23:50:07 PDT] "GET /test.txt HTTP/1.1" 200 17
http://localhost:7000/ -> /test.txt
D [2009-04-25 23:50:37 $27423] DEBUG | : close: 127.0.0.1:57986
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment