Project

General

Profile

Actions

Defect #5706

closed

Default config.log_level is too verbose for production

Added by Anonymous almost 14 years ago. Updated almost 10 years ago.

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

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

The default config.log_level for production environments is too high. It is currently set at :info which adds in 4-5 lines of text into ./log/production.log for every single request. I see no reason anyone would want this information for a production environment.

It has actually caused me issues as my ./log/production.log file grew to over 4GiB, and when I restarted mongrel it failed to restart. After debugging I found out it was due to my max file size and this file was filled up because of Redmine.

I'd like to propose a default of :warn for production environments. We don't need all this :info text for production.


Related issues

Related to Redmine - Defect #6135: Default logger configuration grows without bound.ClosedEric Davis2010-06-17

Actions
Actions

Also available in: Atom PDF