MyAppNameHere::Application.configure do
# add this line
config.logger = Logger.new(STDOUT)
end
在你的config文件夹下的production.rb文件中加入上面的代码。
MyAppNameHere::Application.configure do
# add this line
config.logger = Logger.new(STDOUT)
end
在你的config文件夹下的production.rb文件中加入上面的代码。