Show Table of Contents
6.2. デバッグロギングの有効化
本項では、デバッグロギングを有効にして Satellite 6.2 の詳細なデバッグ情報を提供する方法について説明します。デバッグロギングにより、最も詳細なログ情報が提供され、Satellite 6.2 とそのコンポーネントで発生する可能性がある問題のトラブルシューティングが簡単になります。また、特定のロギングのために個別ロガーを有効または無効にすることもできます。
デバッグロギングを有効にするには、
/etc/foreman/settings.yaml ファイルを変更します。
ロギングレベルを "debug" に設定
デフォルトでは、ロギングレベルは以下のようにinfoに設定されます。:logging: :level: info
これらの行を以下のように変更します。:logging: :level: debug
警告
BZ#1325939 が解決されるまで、sql ロギングレベルをerrorに設定することは推奨されません。個別ロギングタイプの選択
デフォルトでは、/etc/foreman/settings.yamlの最後は以下のようになります。# Individual logging types can be toggled on/off here :loggers:
/etc/foreman/settings.yamlファイルを以下のように変更します。:loggers: :ldap: :enabled: true :permissions: :enabled: true :sql: :enabled: trueKatello サービスの再起動
#katello-service restart
ロガーとそのデフォル値の完全なリスト
:app:
:enabled: true
:ldap:
:enabled: false
:permissions:
:enabled: false
:sql:
:enabled: false

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.