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, tools, and much more.