Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Redmine Cookbook

You're reading from   Redmine Cookbook Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher Packt
ISBN-13 9781785286131
Length 322 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Aleksandar Pavic Aleksandar Pavic
Author Profile Icon Aleksandar Pavic
Aleksandar Pavic
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Installing and Running Redmine 2. Customizing Redmine FREE CHAPTER 3. Project Management with Redmine 4. Improving Team Performance 5. Regular and Planned Maintenance 6. Performance and System Tuning 7. Integrating Redmine with Other Software 8. Getting the Most Out of Scripts and Plugins 9. Troubleshooting 10. Making the Most of Redmine 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

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image