开发者

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜