生产环境日志名字规定为production.log
This commit is contained in:
parent
d2d1a9659b
commit
f394c3878e
|
@ -17,7 +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.logger = Logger.new('log/production.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…
Reference in New Issue