生产环境下日志分天

email_verify
lizanle 11 years ago
parent 4fe8b23069
commit 79fd7ebd7a

@ -17,6 +17,7 @@ RedmineApp::Application.configure do
# config.logger.level = Logger::INFO
# Full error reports are disabled and caching is turned on
config.logger = Logger.new('log/development.log', 'daily',1048576) # daily, weekly or monthly
config.action_controller.perform_caching = true
config.cache_store = :file_store, "#{Rails.root }/public/tmp/"
# Enable serving of images, stylesheets, and javascripts from an asset server

Loading…
Cancel
Save