Show Table of Contents
14.4.2. 禁用 Per-deployment 日志
过程 14.5. 禁用 Per-deployment 日志
有两种禁用 per-deployment 日志的方法。第一个适用于所有 JBoss EAP 6 版本,而第二个只能用于 JBoss EAP 6.3 及更高版本。
JBoss EAP 6(所有版本)
添加系统属性:org.jboss.as.logging.per-deployment=false
JBoss EAP 6.3(及更高版本)
使用jboss-deployment-structure.xml文件排除日志子系统。关于相关细节,请参考《开发指南》里的 Exclude a Subsystem from a Deployment 章节。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.