Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Commit 19c7d13

Browse files
committed
log level set by CRT_LOG_LEVEL, adjusted defaults
1 parent 82aeed0 commit 19c7d13

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

config/environments/development.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
config.active_storage.service = :local
3636

3737
# Use the lowest log level to ensure availability of diagnostic information when problems arise.
38-
config.log_level = :debug
38+
config.log_level = ENV.fetch("CRT_LOG_LEVEL", "debug").to_sym
3939

4040
config.action_mailer.perform_caching = false
4141

config/environments/production.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
config.active_storage.service = :local
3232

3333
# Use the lowest log level to ensure availability of diagnostic information when problems arise.
34-
config.log_level = :debug
34+
config.log_level = ENV.fetch("CRT_LOG_LEVEL", "info").to_sym
3535

3636
config.action_mailer.perform_caching = false
3737

config/environments/qa.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
config.active_storage.service = :local
3232

3333
# Use the lowest log level to ensure availability of diagnostic information when problems arise.
34-
config.log_level = :debug
34+
config.log_level = ENV.fetch('CRT_LOG_LEVEL', 'info').to_sym
3535

3636
config.action_mailer.perform_caching = false
3737

docker-compose-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22

33
services:
44
crt-app:
5-
image: registry.lts.harvard.edu/lts/crt-app:1.4.5
5+
image: registry.lts.harvard.edu/lts/crt-app:1.4.6
66
build:
77
context: ./
88
dockerfile: DockerfilePub

0 commit comments

Comments
 (0)