rack duplicates every log message
When I test a Sinatra app on my local box with rackup, every log message appears twice. How can I get them 开发者_开发问答to appear only once?
disable :logging
in your sinatra application. rackup
adds the Rack::CommonLogger
middleware when it starts in the development env (which it does by default).
精彩评论