O'Reilly logo

Redmine Cookbook by Aleksandar Pavić

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting the log level

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.

Getting ready

Server administration privileges are required so that you can edit configuration files from Redmine's installation folder.

How to do it…

To configure the Redmine log level, perform the following actions:

  1. Navigate to the folder where your Redmine installation resides.
  2. Navigate to the sub-folder config.
  3. Create a file called additional_environment.rb.
  4. Enter the following line:
    config.logger.level = Logger::WARN
  5. Save the file. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required