20.6.4. HornetQ のロギングの有効化
- サーバー設定ファイル (
standalone-full.xmlおよびstandalone-full-ha.xml) を手作業で編集します。 - CLI を使用してサーバー設定ファイルを編集します。
手順20.1 サーバー設定ファイルを手作業で編集して HornetQ ロギングを設定する
- 編集するサーバー設定ファイルを開きます (例:
standalone-full.xmlおよびstandalone-full-ha.xml)。 - ファイルのロギングサブシステム設定を見つけます。デフォルトの設定は次のようになります。
<logger category="com.arjuna"> <level name="TRACE"/> </logger> ... <logger category="org.apache.tomcat.util.modeler"> <level name="WARN"/> </logger> ....
- 下例のように、
org.hornetqロガーカテゴリーと指定するロギングレベルを追加します。<logger category="com.arjuna"> <level name="TRACE"/> </logger> ... <logger category="org.hornetq"> <level name="INFO"/> </logger> ....
HornetQ ロギングが有効になり、設定されたログレベルを基にログメッセージが処理されます。
CLI を使用して、サーバー設定ファイルに org.hornetq ロガーカテゴリーと指定するロギングレベルを追加することもできます。詳細は「CLI でのログカテゴリーの設定」を参照してください。

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.