[英]How to create separate log file for each server instance running in the jboss domain mode
I'm using jboss 7.2,and I created a log4j2.xml and placed in the server, application running in the domain mode there are two server instance in each ip, application logs are printing only for one server instance and another server instance logs are不打印,如何打印两个服务器实例日志在单独的文件中。
有没有人有想法请帮忙。
抱歉……你不能在 JBoss7.2 中使用 log4j2。
只有WildFly 22支持开箱即用的 Log4j2。
但是,根据本教程,您可以将 Log4j2 实现到 WildFly 的其他版本。 但是我没有尝试自己。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.