JBoss EAP 6 で、Log4Jによるアプリケーションのログを server.log から分ける方法
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
