소스 검색

Change default log level in production from :debug to :info for less I/O (#1579)

master
Eugen 7 년 전
committed by GitHub
부모
커밋
40bdf43297
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      config/environments/production.rb

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

@@ -40,7 +40,7 @@ Rails.application.configure do

# By default, use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'debug').to_sym
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info').to_sym

# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
@@ -64,7 +64,7 @@ Rails.application.configure do
password: ENV.fetch('REDIS_PASSWORD') { false },
db: 0,
namespace: 'cache',
expires_in: 20.minutes,
expires_in: 10.minutes,
}

# Enable serving of images, stylesheets, and JavaScripts from an asset server.


불러오는 중...
취소
저장