why is my rails server logging everything twice?

前端 未结 4 1629
青春惊慌失措
青春惊慌失措 2021-02-07 01:45

my rails server seems like it is logging everything twice, not sure what is going on here, what should I do to investigate this ?

4条回答
  •  清酒与你
    2021-02-07 02:12

    I had success with this in development.rb:

    config.logger = ActiveSupport::Logger.new('/dev/null')
    

提交回复
热议问题