Project

General

Profile

Actions

Feature #4393

closed

Make Logger rotate and split logfiles

Added by Felix Schäfer over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-12-14
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

This issue has already been discussed in #3388 (well, obviously more rejected than discussed), but I will repeat this feature request nonetheless, because Logger#new can do that on its own. This would require only a one-line addition to source:/trunk/config/environments/production.rb, for example:

config.logger = Logger.new(config.log_path, 7, 1048576)
Actions

Also available in: Atom PDF