Translated message

A translation of this page exists in English.

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, 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