Browse Source

Added some documentation about the Rails Logger. #6135

Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4096 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.1.0
Eric Davis 14 years ago
parent
commit
eb1f58f962
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      config/environments/production.rb

+ 6
- 1
config/environments/production.rb View File

@@ -4,9 +4,14 @@
# Code is not reloaded between requests
config.cache_classes = true

#####
# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
#
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new

#
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
# config.logger = Logger.new(config.log_path, 7, 1048576)

# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false

Loading…
Cancel
Save