2.3. Ceph 設定ファイルにおけるロギング設定
起動時に Ceph のデバッグ出力を有効にするには、システムの起動時に dout()
のデバッグ設定を Ceph 設定ファイルに追加します。
-
各デーモンに共通するサブシステムの場合は、
[global]
セクションに設定を追加します。 -
特定のデーモンのサブシステムについては、
[mon]
、[osd]
、[mds]
などのデーモンセクションに設定を追加します。
以下に例を示します。
[global] debug_ms = 1/5 [mon] debug_mon = 20 debug_paxos = 1/5 debug_auth = 2 [osd] debug_osd = 1/5 debug_filestore = 1/5 debug_journal = 1 debug_monc = 5/20 [mds] debug_mds = 1
関連項目
- 「Ceph サブシステム」
- 「ランタイム時のロギング設定」
- 『Configuration Guide for Red Hat Ceph Storage 3』の「Logging ConfigurationReference 」の章