LoginSignup
2
4

More than 3 years have passed since last update.

[メモ]Linux syslog ファシリティ・プライオリティ一覧

Posted at

ファシリティ

ファシリティ ファシリティコード 説明
kern 0 カーネルメッセージ
user 1 ユーザーレベルメッセージ
mail 2 メールシステム
daemon 3 システムデーモン
auth 4 セキュリティ/認証メッセージ(最近のシステムでは、authprivが使用される)
syslog 5 syslogdによる内部メッセージ
lpr 6 Line Printerサブシステム
news 7 newsサブシステム
uucp 8 UUCPサブシステム
cron 9 cronデーモン
authpriv 10 セキュリティ/認証メッセージ(プライベート)
ftp 11 ftpデーモン
local0~local7 16~23 ローカル用に予約

プライオリティ

プライオリティ 説明
emerg emergency:パニックの状態でシステムは使用不可
alert alert:緊急に対処が必要
crit critical:緊急に対処が必要。alertより緊急度は低い
err error:エラー発生
warning warning:警告。対処しないとエラーが発生する可能性がある
notice notice:通常では無いが、エラーでも無い
info information:通常の稼働の情報
debug debug:デバッグ情報
none none:ログメッセージを記録しない

/etc/rsyslog.d/*.confの設定や、journalctl -p warningjournalctl SYSLOG_FACILITY=2のように使う。

参照:本気で学ぶLinux実践入門

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4