#author("2025-10-04T17:45:45+09:00","default:k1rou","k1rou")
#author("2025-10-04T17:47:19+09:00","default:k1rou","k1rou")
*syslog [#m84b7d8a]
-System Logging Protocol

**概要 [#l3c894bc]
-サーバーやネットワーク機器のログを収集、転送するための規格
-RFC 3164
--The BSD Syslog Protocol
--2001年8月に公開
--https://datatracker.ietf.org/doc/html/rfc3164
-RFC 5424
--The Syslog Protocol
--2009年3月に公開
--https://datatracker.ietf.org/doc/html/rfc5424

*ファイル [#sf8d83d0]
**設定ファイル [#r78118c1]
-/etc/rsyslog.conf

**ログファイル [#za0a85db]
-/var/log/syslog
-/var/log/secure
-/var/log/messages

*処理の流れ [#l5c69177]
+syslog 関数を呼び出す
+syslog デーモンに送信
+ログファイルに書込み

*ログレベル [#i1d60732]
-emergency
-alert
-critical
-error
-warning
-notice
-info
-debug

*syslogの実装 [#n8c6f29e]
-[[rsyslogd]]
-[[syslog-ng]]

*関連用語 [#kb503b0d]
-[[監視]]
-[[ログ]]
-[[systemd-journald]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS