私の Web アプリケーションでは、独自の log4j.xml ファイルを使用して log4j を再初期化します。
次のjboss-deployment-structure.xmlでlog4j.jarをすでに除外しました
<jboss-deployment-structure>
<deployment>
<!-- Exclusions allow you to prevent the server from automatically adding some dependencies -->
<exclusions>
<module name="org.apache.log4j" />
</exclusions>
</deployment>
再初期化後、log4j はすべてを stdout に記録します
jboss 5 では、この JVM パラメータを使用しました
-Dorg.jboss.logging.Log4jService.catchSystemOut=false
jboss 7 では、これは機能しません。stdout にログを記録しないように log4j を構成するにはどうすればよいですか?