Book Image

Redmine Cookbook

By : Shamasis Bhattacharya
Book Image

Redmine Cookbook

By: Shamasis Bhattacharya

Overview of this book

In a variety of online project management tools, Redmine markets itself as offering flexibility. Choosing the right management tool can mean the difference between the success and failure of a project. Flexible project management tools bend themselves to fit your needs, whether that’s communication regarding a simple project, or collaboration, or more complex project methodology such as SCRUM, or an issue-code relationship, or the need of different methodology for your project. Whether you are project manager or system administrator, this book provides valuable recipes to get the best possible performance out of your team, organization, infrastructure, and Redmine itself. Through a series of carefully crafted recipes covering the nitty-gritty of Redmine, you’ll be guided through the installation of Redmine, as well as how to fine-tune and customize your Redmine installation. Finally, we walk you through integrating Redmine with other softwares and databases like Tortoise SVN and Visual Studio and troubleshooting Redmine.
Table of Contents (17 chapters)
Redmine Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

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.

  6. Restart Redmine.

How it works…

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

...