소스 검색

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 년 전
부모
커밋
eb1f58f962
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6
    1
      config/environments/production.rb

+ 6
- 1
config/environments/production.rb 파일 보기

@@ -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…
취소
저장