Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all Sinatra routes are accessed twice #22

Closed
burningTyger opened this issue Dec 13, 2011 · 1 comment
Closed

all Sinatra routes are accessed twice #22

burningTyger opened this issue Dec 13, 2011 · 1 comment

Comments

@burningTyger
Copy link
Contributor

Starting the samle Sinatra app

# myapp.rb
require 'sinatra'

get '/' do
  'Hello world!'
end

will result in this:

% ruby sinatra.rb -s puma                                                                                                                    
Puma 0.9.1 starting...
* Min threads: 0, max threads: 16
* Listening on tcp://0.0.0.0:4567
== Sinatra/1.3.1 has taken the stage on 4567 for development with backup from Puma
127.0.0.1 - - [13/Dec/2011 17:55:19] "GET / HTTP/1.1" 200 12 0.0045
127.0.0.1 - - [13/Dec/2011 17:55:19] "GET / HTTP/1.1" 200 12 0.1636
127.0.0.1 - - [13/Dec/2011 17:55:20] "GET /favicon.ico HTTP/1.1" 404 447 0.0028
127.0.0.1 - - [13/Dec/2011 17:55:20] "GET /favicon.ico HTTP/1.1" 404 447 0.0030
@burningTyger
Copy link
Contributor Author

Since 2.14 I noticed the logger has returned. Need to use the '-q' or '--quiet' paramter to turn it off again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants