discourse/config/environments
Martin Brennan 2050238d0c
DEV: Log to STDOUT if RAILS_ENABLE_TEST_LOG (#8650)
The env var `RAILS_ENABLE_TEST_LOG` didn't seem to do anything if enabled. This now sets the logger to STDOUT if `RAILS_ENABLE_TEST_LOG` is enabled and also introduces `RAILS_TEST_LOG_LEVEL` so the level of the logging in the console can be provided (default info).

Note: I am not sure if the original behaviour is expected. I can add an additional env var to enable the STDOUT logging if required
2020-01-03 09:58:01 +10:00
..
development.rb DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
production.rb DEV: Re-enable uglifier for non-precompiled assets 2019-05-14 10:28:18 +01:00
profile.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test.rb DEV: Log to STDOUT if RAILS_ENABLE_TEST_LOG (#8650) 2020-01-03 09:58:01 +10:00