How to change Rails 3.0's default log path?

前端 未结 3 1520
你的背包
你的背包 2021-02-14 01:03

I have to change my rail application\'s default log path because of my company\'s internal software deployment process: basically my rails app ends up on a read-only location, a

3条回答
  •  既然无缘
    2021-02-14 01:41

    The config.log_path setting has been deprecated - the recommended solution is now:

    config.paths.log = "/some/path/#{Rails.env}.log"

提交回复
热议问题