diff options
author | schneems <richard.schneeman@gmail.com> | 2016-02-17 10:50:29 -0600 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2016-02-17 10:50:29 -0600 |
commit | 4a836dca6562963c3112ff853017b1174af02251 (patch) | |
tree | 6246d4866195ed7370d6c54f100b0892ae7100cf /activerecord/test/cases/clone_test.rb | |
parent | 310e4418f4db899dcd07ff24f530ef8862c65f8b (diff) | |
download | rails-4a836dca6562963c3112ff853017b1174af02251.tar.gz rails-4a836dca6562963c3112ff853017b1174af02251.tar.bz2 rails-4a836dca6562963c3112ff853017b1174af02251.zip |
Alternative to #23638 log to STDOUT via env var
People who deploy to containers or other places where they might have some sort of a log wrapping service use stdout. With this change new rails apps can be configured to output to STDOUT via setting `RAILS_LOG_TO_STDOUT` to any value. This allows container images or services to set the value for all apps without having to modify configuration for each application. If an app wants to opt out, they can either delete from the env hash, or remove that configuration.
cc/ @rafaelfranca
Diffstat (limited to 'activerecord/test/cases/clone_test.rb')
0 files changed, 0 insertions, 0 deletions