Disable verbose_query_logs in Rails Console
Disable verbose_query_logs in Rails Console

Should fix #31688 unless someone can point me to a better way to achieve
this goal. Essentially David's point was that verbose query logging when
enabled in Rails console tends to make things very noisy.

That's especially true if we display absolute paths to callsites which
sadly is still the case when we detect a caller that isn't part of the
Rails application — think gems.

Discussed this with both @matthewd and @rafaelfranca and went back and
forth between enabling if defined?(Rails::Server) or this implementation
and this one makes more sense for now.

Long term I think it'll make sense to let people override this default
disabling in Rails Console because they might want to use the feature
but for now it feels like the correct default behavior.

yawboakye/rails,joonyou/rails,esparta/rails,Vasfed/rails,yahonda/rails,tgxworld/rails,kddeisz/rails,vipulnsward/rails,palkan/rails,gfvcastro/rails,esparta/rails,illacceptanything/illacceptanything,Edouard-chin/rails,yawboakye/rails,yhirano55/rails,illacceptanything/illacceptanything,Envek/rails,aditya-kapoor/rails,eileencodes/rails,pvalena/rails,baerjam/rails,untidy-hair/rails,BlakeWilliams/rails,odedniv/rails,jeremy/rails,kmcphillips/rails,mechanicles/rails,yalab/rails,vipulnsward/rails,tjschuck/rails,pvalena/rails,EmmaB/rails-1,MSP-Greg/rails,jeremy/rails,yalab/rails,illacceptanything/illacceptanything,yalab/rails,aditya-kapoor/rails,kmcphillips/rails,rails/rails,shioyama/rails,deraru/rails,rails/rails,mechanicles/rails,georgeclaghorn/rails,MSP-Greg/rails,aditya-kapoor/rails,bogdanvlviv/rails,bogdanvlviv/rails,printercu/rails,vipulnsward/rails,Erol/rails,printercu/rails,rafaelfranca/omg-rails,illacceptanything/illacceptanything,notapatch/rails,iainbeeston/rails,untidy-hair/rails,yawboakye/rails,Stellenticket/rails,iainbeeston/rails,assain/rails,travisofthenorth/rails,starknx/rails,schuetzm/rails,jeremy/rails,untidy-hair/rails,rails/rails,Envek/rails,yahonda/rails,kmcphillips/rails,palkan/rails,gfvcastro/rails,flanger001/rails,illacceptanything/illacceptanything,flanger001/rails,lcreid/rails,mohitnatoo/rails,kddeisz/rails,printercu/rails,iainbeeston/rails,odedniv/rails,kddeisz/rails,illacceptanything/illacceptanything,utilum/rails,notapatch/rails,BlakeWilliams/rails,arunagw/rails,betesh/rails,travisofthenorth/rails,fabianoleittes/rails,arunagw/rails,baerjam/rails,rafaelfranca/omg-rails,yhirano55/rails,jeremy/rails,palkan/rails,travisofthenorth/rails,mohitnatoo/rails,yalab/rails,eileencodes/rails,utilum/rails,baerjam/rails,yhirano55/rails,BlakeWilliams/rails,yahonda/rails,arunagw/rails,esparta/rails,rafaelfranca/omg-rails,illacceptanything/illacceptanything,repinel/rails,illacceptanything/illacceptanything,Edouard-chin/rails,joonyou/rails,EmmaB/rails-1,shioyama/rails,Vasfed/rails,Vasfed/rails,Edouard-chin/rails,gfvcastro/rails,prathamesh-sonpatki/rails,vipulnsward/rails,georgeclaghorn/rails,deraru/rails,yawboakye/rails,gfvcastro/rails,Envek/rails,gauravtiwari/rails,deraru/rails,arunagw/rails,esparta/rails,repinel/rails,Stellenticket/rails,lcreid/rails,starknx/rails,schuetzm/rails,deraru/rails,Stellenticket/rails,joonyou/rails,repinel/rails,tjschuck/rails,georgeclaghorn/rails,utilum/rails,EmmaB/rails-1,shioyama/rails,tgxworld/rails,mechanicles/rails,gauravtiwari/rails,MSP-Greg/rails,eileencodes/rails,rails/rails,MSP-Greg/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,schuetzm/rails,prathamesh-sonpatki/rails,illacceptanything/illacceptanything,palkan/rails,illacceptanything/illacceptanything,travisofthenorth/rails,fabianoleittes/rails,pvalena/rails,tjschuck/rails,prathamesh-sonpatki/rails,georgeclaghorn/rails,joonyou/rails,pvalena/rails,fabianoleittes/rails,mechanicles/rails,kmcphillips/rails,baerjam/rails,repinel/rails,assain/rails,prathamesh-sonpatki/rails,odedniv/rails,BlakeWilliams/rails,assain/rails,printercu/rails,notapatch/rails,gauravtiwari/rails,flanger001/rails,kddeisz/rails,mohitnatoo/rails,fabianoleittes/rails,betesh/rails,assain/rails,yhirano55/rails,shioyama/rails,Vasfed/rails,lcreid/rails,untidy-hair/rails,eileencodes/rails,bogdanvlviv/rails,illacceptanything/illacceptanything,yahonda/rails,mohitnatoo/rails,tjschuck/rails,iainbeeston/rails,starknx/rails,Edouard-chin/rails,bogdanvlviv/rails,lcreid/rails,betesh/rails,schuetzm/rails,illacceptanything/illacceptanything,aditya-kapoor/rails,illacceptanything/illacceptanything,Erol/rails,Erol/rails,notapatch/rails,tgxworld/rails,tgxworld/rails,flanger001/rails,utilum/rails,betesh/rails,Erol/rails,Envek/rails,Stellenticket/rails