2015-01-08 Thu
■ エラーレベル [unix][inet]
へー、エラーセベリティレベル(Severity)って、RFC に規定があるんだ。
syslog: http://en.wikipedia.org/wiki/Syslog
RFC 5424: http://tools.ietf.org/html/rfc5424
Code | Severity | Keyword | Description | General Description |
0 | Emergency | emerg (panic) | System is unusable. | A "panic" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call. |
1 | Alert | alert | Action must be taken immediately. | Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. |
2 | Critical | crit | Critical conditions. | Should be corrected immediately, but indicates failure in a secondary system, an example is a loss of a backup ISP connection. |
3 | Error | err (error) | Error conditions. | Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. |
4 | Warning | warning (warn) | Warning conditions. | Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. |
5 | Notice | notice | Normal but significant condition. | Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. |
6 | Informational | info | Informational messages. | Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. |
7 | Debug | debug | Debug-level messages. | Info useful to developers for debugging the application, not useful during operations. |
Alert って、以外と重いな。
Error の下辺りかと思っていた。
日本語的にはこんな感じかな??
書きかけ
コード | 重要度 | キーワード | 説明 | 概要 |
0 | 緊急 | emerg (panic) | システムは使用不可。 | 複数のアプリ/サーバ/サイトに影響する「パニック」状態。このレベルでは、通常、連絡のつく全ての技術者に通知すべき。 |
1 | 警戒 | alert | 早急なる対処が必須。 | すぐに修正すべき状態。したがい、その問題を修正できる技術者に通知すること。例えば、プライマリISP接続の消失。 |
2 | 重大 | crit | 危機的状態。 | すぐに修正すべき状態。しかし、セカンダリ−システムの問題を意味する。例えば、バックアップISP接続の消失。 |
3 | エラー | err (error) | エラー状態。 | 急を要さない問題。開発者か管理者に知らせるべき。ある時間以内に解決されなければならない。 |
4 | 警告 | warning (warn) | 警告状態。 | |
5 | 通告 | notice | 正常だが有意状態。 | |
6 | 情報 | info | 情報メッセージ。 | |
7 | デバッグ | debug | デバッグレベルメッセージ。 |
最終更新時間: 2025-01-14 10:03