Tag: Rails/ログ出力
#サイズで分割(10MBごと) config.logger = Logger.new("log/production.log", 5, 10 * 1024 * 1024) config.logger = Logger.new(config.paths["log"].first, 5, 10.megabytes) #日別 config.logger = Logger.new("log/production.log", 'daily')