Project

General

Profile

Actions

Defect #6135

closed

Default logger configuration grows without bound.

Added by T. Hauptman over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
2010-06-17
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

A naive installation of redmine (following the install instructions) leaves logfiles in an unexpected place, growing without limit. This can cause problems for the system admin.

A solution was proposed in Defect #5706 but not accepted.

Another solution is given in http://www.redmine.org/boards/2/topics/11836 which seems to not conflict with the issues in #5706.

Consider adding a line to $REDMINE_ROOT/config/environments/production.rb
config.logger = Logger.new(config.log_path, 2, 1048576)

This maintains the :info useful for debugging but limits the impact of the logfile on the system.

Those developing redmine can choose an appropriate logfile max-size. Any finite size is fine but consider using the smallest reasonable size to be kind to webappliance installations...


Related issues

Related to Redmine - Defect #5706: Default config.log_level is too verbose for productionClosed2010-06-17

Actions
Actions

Also available in: Atom PDF