Changing the Logging Level
If you discover that your log file is filling up with lots of uneeded information you can change the logging level from the default.
in the {redmine}/config/additional_enviroment.rb file you can change the logging level. By either adding the line or un-remming one that is present. When you set the error loggin level to error you will only get errors logged to the log file. This will affect both enviroments.
- config.log_level = : debug
- config.log_level = : error
The log levels available are: :debug, :info, :warn, :error, :fatal, and :unknown, which correspond to the integers 0-5.
Logging Links
- ruby on rails - Turn off active record logging in production - Stack Overflow
- How do I turn off logging in Rails 3?Jason Noble's Technical Adventures | Jason Noble's Technical Adventures
- how to disable annoying asset-related log messages in rails - Übergeek UnLtd
- Turn off asset logging in your Rails application - Freelance software engineer - Michaël Rigart - uses Quiet_assets GEM
- Rails disable logging of asset pipeline messages : Max Ivak Personal Site
- How to disable logging of asset pipeline (sprockets) messages in Rails. - Codebeerstartups
- How to: How to disable logging of asset pipeline (sprockets) messages in Rails 3.1? | SevenNet
- RoR Guide & Solutions: Solution to turn off Rails asset pipeline log in Rails 4 development log file
- Logging configuration - Redmine Thread
- installation - how to enable redmine (ruby on rails) logging? - Server Fault
- Disable Rails 3.1 SQL logging - Stack Overflow