2010-10-04 82 views

回答

11

是的,你可以。如果您在config /环境/ production.rb文件去,有这样一段:

# See everything in the log (default is :info) 
# config.log_level = :debug 

取消对config.log_level线,你会得到相同的日志在生产中,你会在开发中。

+0

不知道我是如何错过的 – tybro0103 2010-10-06 19:28:51