Project

General

Profile

Actions

Backport(バックポート) #2551

open

opDeprecatedRoute のエラーメッセージの priority が ERR なのは高すぎる

Added by Maki Takahashi about 13 years ago. Updated about 13 years ago.

Status:
New(新規)
Priority:
Normal(通常)
Target version:
Start date:
2011-10-14
Due date:
% Done:

0%

Estimated time:

Description

prod 環境でのログ記録を検討する際に、開発時のみに必要なエラーを除外するため ERR レベル以上を記録するような設定が好ましいと考えられるが、そのような設定をしても opDeprecatedRoute のエラーログ(priority: ERR)がたくさん出力されてしまうのが邪魔である。

現状のOpenPNE本体やプラグインのコードでは opDeprecatedRoute を使用することを前提としたものが多く、運用環境で出力して意義のあるエラーメッセージではないため priority を下げるべきである。

記録されるエラーログ:

10月 06 22:12:26 symfony [err] {opDeprecatedRoute} This routing rule is deprecated. Please use other rules instead of this.

sfLogger で定義されているエラーレベル:

 * - EMERG:   System is unusable
 * - ALERT:   Immediate action required
 * - CRIT:    Critical conditions
 * - ERR:     Error conditions
 * - WARNING: Warning conditions
 * - NOTICE:  Normal but significant
 * - INFO:    Informational
 * - DEBUG:   Debug-level messages

NOTICE あたりでよいと思います。(考えようによっては DEBUG でもいい気もします)

確認バージョン

OpenPNE 3.7.0-dev (master)
OpenPNE 3.6.1 (stable-3.6.x)
OpenPNE 3.4.17 (stable-3.4.x)


Related issues 1 (0 open1 closed)

Related to OpenPNE 3 - Bug(バグ) #2488: opDeprecatedRoute のエラーメッセージの priority が ERR なのは高すぎるFixed(完了)Maki Takahashi2011-10-14

Actions
Actions #1

Updated by Maki Takahashi about 13 years ago

  • Target version changed from OpenPNE 3.6.1 to OpenPNE 3.6.x
Actions

Also available in: Atom PDF