Possible Duplicate:
What does “WARN Could not determine content-length of response body.” mean and how to I get rid of it?
我刚刚升级到rails 3.2.2,现在在rails s上,页面加载,我在日志(log)中看到了所有这些错误:
[2012-03-07 19:46:14] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2012-03-07 19:46:14] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
根据之前的SO线程,我try 了以下方法:
/config/application.rb
config.assets.logger = false
config.assets.logger = nil
这些都不管用.有没有关于如何禁用此错误日志(log)记录的 idea ?或者解决这个问题:)
谢谢