only set RAILS_DEFAULT_LOGGER for rails2 compat
only set RAILS_DEFAULT_LOGGER for rails2 compat

fixes CNVS-8749

test-plan: N/A

Change-Id: Ie22f0a886c3f5741c1ca911f2d4de5d48e52739b
Reviewed-on: https://gerrit.instructure.com/25034
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Nick Cloward <9cc571ed222c7ca8c35f018ff48a612f8cadeb73@instructure.com>
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
Product-Review: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>
QA-Review: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>

jay3126/canvas-lms,shidao-fm/canvas-lms,Unow/canvas-lms,AndranikMarkosyan/lms,efrj/canvas-lms,gbleydon/canvas-lms,narigone/canvas,Rvor/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,efrj/canvas-lms,utkarshx/canvas-lms,sdeleon28/canvas-lms,leftplusrightllc/canvas-lms,skmezanul/canvas-lms,HotChalk/canvas-lms,wye0220/shindig-canvas,utkarshx/canvas-lms,va7map/canvas-lms,SwinburneOnline/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,jay3126/canvas-lms,snehakachroo1/LSI_replica,venturehive/canvas-lms,djbender/canvas-lms,jay3126/canvas-lms,djbender/canvas-lms,va7map/canvas-lms,kyroskoh/canvas-lms,arrivu/qibla-ecampus,HotChalk/canvas-lms,usmschuck/canvas,instructure/canvas-lms,eCNAP/CANVAS,fronteerio/canvas-lms,sfu/canvas-lms,loganrun/pincan,arrivu/hoodemo,dgynn/canvas-lms,va7map/canvas-lms,loganrun/pincan,grahamb/canvas-lms,dgynn/canvas-lms,kyroskoh/canvas-lms,kyroskoh/canvas-lms,fronteerio/canvas-lms,efrj/canvas-lms,whalejasmine/canvas-lms,landonwilkins/canvas-lms,greyhwndz/canvas-lms,roxolan/canvas-lms,matematikk-mooc/canvas-lms,shidao-fm/canvas-lms,landonwilkins/canvas-lms,ShreniiNepal/shrenii_lmp,wye0220/shindig-canvas,wimemx/Canvas,skmezanul/canvas-lms,wye0220/shindig-canvas,Jyaasa/canvas-lms,grahamb/canvas-lms,gbleydon/canvas-lms,samuels410/greatlakes-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,samuels410/greatlakes-lms,wimemx/Canvas,utkarshx/canvas-lms,juoni/canvas-lms,whalejasmine/canvas-lms,instructure/canvas-lms,samuels410/greatlakes-lms,leftplusrightllc/canvas-lms,arrivu/arrivu-lms,leftplusrightllc/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,venturehive/canvas-lms,HotChalk/canvas-lms,Unow/canvas-lms,roxolan/canvas-lms,landonwilkins/canvas-lms,sfu/canvas-lms,narigone/canvas,instructure/canvas-lms,gbleydon/canvas-lms,Jyaasa/canvas-lms,venturehive/canvas-lms,eCNAP/CANVAS,skmezanul/canvas-lms,whalejasmine/canvas-lms,matematikk-mooc/canvas-lms,Rvor/canvas-lms,Rvor/canvas-lms,wrdsb/canvas-lms,redconfetti/canvas-lms,usmschuck/canvas,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,HotChalk/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,loganrun/pincan,arrivu/qibla-ecampus,juoni/canvas-lms,Rvor/canvas-lms,ShreniiNepal/shrenii_lmp,shidao-fm/canvas-lms,kyroskoh/canvas-lms,usmschuck/canvas,juoni/canvas-lms,sdeleon28/canvas-lms,roxolan/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,redconfetti/canvas-lms,arrivu/hoodemo,juoni/canvas-lms,eCNAP/CANVAS,AndranikMarkosyan/lms,shidao-fm/canvas-lms,arrivu/arrivu-lms,usmschuck/canvas,venturehive/canvas-lms,Jyaasa/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,dgynn/canvas-lms,narigone/canvas,tgroshon/canvas-lms,sdeleon28/canvas-lms,efrj/canvas-lms,arrivu/arrivu-lms,antoniuslin/canvas-lms,greyhwndz/canvas-lms,samuels410/greatlakes-lms,greyhwndz/canvas-lms,wimemx/Canvas,SwinburneOnline/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,landonwilkins/canvas-lms,instructure/canvas-lms,AndranikMarkosyan/lms,matematikk-mooc/canvas-lms,va7map/canvas-lms,arrivu/qibla-ecampus,AndranikMarkosyan/lms,antoniuslin/canvas-lms,Jyaasa/canvas-lms,instructure/canvas-lms,roxolan/canvas-lms,sdeleon28/canvas-lms,djbender/canvas-lms,tgroshon/canvas-lms,whalejasmine/canvas-lms,snehakachroo1/LSI_replica,Unow/canvas-lms,narigone/canvas,jay3126/canvas-lms,utkarshx/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,snehakachroo1/LSI_replica,redconfetti/canvas-lms,skmezanul/canvas-lms,instructure/canvas-lms,eCNAP/CANVAS,ShreniiNepal/shrenii_lmp,tgroshon/canvas-lms,snehakachroo1/LSI_replica,arrivu/hoodemo,tgroshon/canvas-lms