Edit the config/environment.rb and add the following:
config.logger = Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 5, 10*1024*1024)
Where the 2nd and 3rd parameters are defined here.
Edit the config/environment.rb and add the following:
config.logger = Logger.new("#{RAILS_ROOT}/log/#{ENV['RAILS_ENV']}.log", 5, 10*1024*1024)
Where the 2nd and 3rd parameters are defined here.
No related posts.