Show Table of Contents
14.4. 重新部署日志子系统
14.4.1. 关于 Per-deployment 日志
Per-deployment 日志允许开发人员为应用程序提前进行日志配置。当部署了应用程序时,日志将按照定义好的配置进行记录。通过这个配置创建的日志文件仅包含和这个应用程序行为相关的信息。
将这种方法用于系统范围的日志时既有优点也有缺点。其优点是 JBoss EAP 实例的管理员不需要配置日志;缺点是 per-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.