Project

General

Profile

How to config the logger level

Added by Steven Wong almost 8 years ago

I want to config the logger level in redmine3.2.x
but I have no idea where and how to config it , could anyone tell me how to config?

Thanks.


Replies (2)

RE: How to config the logger level - Added by Olivier Houdas almost 8 years ago

config.log_level = :info
in /config/environments/production.rb

or :debug, or :error

This will override the default setting defined in /config/application.rb, as mentioned in the comments of the latter file.

RE: How to config the logger level - Added by Steven Wong almost 8 years ago

Thanks so much. I checked rails documents.

    (1-2/2)