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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.