-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Redmine Cookbook
By :
Normally, the log is the first thing to check when something goes wrong. In a production environment, until everything is working fine, you want your logs to be as small as possible and leave the smallest footprint on CPU and memory. This recipe teaches you how to tweak log-level settings in Redmine.
Server administration privileges are required so that you can edit configuration files from Redmine's installation folder.
To configure the Redmine log level, perform the following actions:
Navigate to the folder where your Redmine installation resides.
Navigate to the sub-folder config.
Create a file called additional_environment.rb.
Enter the following line:
config.logger.level = Logger::WARN
Save the file.
Restart Redmine.
Redmine relies on Ruby on Rail's Logger class, and can be configured according to the settings that are available from the Logger class. On line 4, possible values after the = Logger:: are as follows:
|
Possible options | ... |
|---|
Change the font size
Change margin width
Change background colour