mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 02:48:09 +08:00

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