Ruby on rails log file size too large

前端 未结 9 1363
无人共我
无人共我 2021-02-01 16:01

I stumbled to learn that my rails3.1 log file is super large, around 21mb. Is this, in terms of size normal? What the log file would like in the production environment? Besides,

9条回答
  •  醉酒成梦
    2021-02-01 16:21

    You may want to use logrotate. Have a look at the answer to this question: Ruby on Rails production log rotation.

提交回复
热议问题