Double console output?

前端 未结 6 1514
深忆病人
深忆病人 2021-02-08 04:28

Suddenly when I run my app locally, I get double console output. Does anybody know what might have caused this? The problem exists both when running Thin and Unicorn

<         


        
6条回答
  •  南方客
    南方客 (楼主)
    2021-02-08 04:54

    We found this was caused by running the Rails server via

    $ rails server
    

    rather than

    $ thin start
    

    When using the latter, the double-logging problem goes away. Unfortunately we didn't have time to lock down the cause, we just changed the way we launched Thin and moved on.

提交回复
热议问题