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

Commit 8867ff3

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

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

Gemfile.lock

+3-4
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ GEM
235235
mime-types (3.3.1)
236236
mime-types-data (~> 3.2015)
237237
mime-types-data (3.2020.1104)
238-
mimemagic (0.3.5)
238+
mimemagic (0.3.10)
239+
nokogiri (~> 1)
240+
rake
239241
mini_magick (4.11.0)
240242
mini_mime (1.0.2)
241243
mini_portile2 (2.4.0)
@@ -273,8 +275,6 @@ GEM
273275
puma (5.0.4)
274276
nio4r (~> 2.0)
275277
rack (2.2.3)
276-
rack-mini-profiler (0.10.7)
277-
rack (>= 1.2.0)
278278
rack-test (1.1.0)
279279
rack (>= 1.0, < 3)
280280
railroady (1.5.3)
@@ -435,7 +435,6 @@ DEPENDENCIES
435435
pry-rails
436436
pry-remote
437437
puma
438-
rack-mini-profiler (~> 0.10.1)
439438
railroady
440439
rails (~> 6.0.3)
441440
rails-controller-testing

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)