Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

JBoss EAP 6 で、Log4Jによるアプリケーションのログを server.log から分ける方法

Solution Verified - Updated -

Issue

  • アプリケーションで log4j.xml をパッケージに含めると、アプリケーションログが server.log に記録されます。
  • メッセージのログが servers.log に記録されません。アプリケーションで slf4j をログレイヤーとして使用しますが、WAR を JBoss 6 EAP にデプロイして、Web Service を呼び出しても、INFO メッセージが表示されません。

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

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.