Ruby sinatra 如何关闭控制台的 access 日志

yakczh · August 18, 2013 · Last by yakczh replied at August 18, 2013 · 1956 hits
require 'sinatra'
set :environment, :production
set :logging, false
disable :logging

这些都不管用呢

这是 app 中代码中的日志 我说的服务器的 acess log

textpatten - - [18/Aug/2013:10:24:16 中国标准时间] "GET / HTTP/1.1" 200 11

  • -> /

控制台打印的这样的信息

You need to Sign in before reply, if you don't have an account, please Sign up first.