开发者

rack duplicates every log message

开发者 https://www.devze.com 2023-01-11 16:19 出处:网络
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 th

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

精彩评论

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

关注公众号