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.