Translated message

A translation of this page exists in English.

JBoss EAP 5 で log4j フィルターを使用してアプリケーションごとにログを取得する方法

Solution Verified - Updated -

Issue

  • $JBOSS_HOME/server/$CONFIG/lib には、共通の jar と、log4j を使用してログステートメントを生成するクラスがあります。
  • デプロイされたアプリケーションは共通 jar のクラスを使用するため、共通クラスを使用していても、それぞれのアプリケーションが独自のログファイルに、ログを記録するにはどうすれば良いですか?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content