Redmineのログ¶
ログ設定¶
RedmineはRailsのログを活用しているので、設定はRailsのログ設定によります。
ログレベル¶
ログは5段階に分かれています。:debug:info:warn:error:fatal
動作モードとデフォルトのログレベル¶
| 動作モード | デフォルトのログレベル |
|---|---|
| development | :debug |
| test | :debug |
| production | :info |
動作モードのログレベルの変更¶
Redmine 2.xでは、config/additional_environment.rb でログレベルを指定します。
config.log_level = :debug