是否可以使用位于 JBOSS_HOME 外部的 jboss-log4j.xml?
是否可以将 JBoss 5.x 配置为使用位于 JBOSS_HOME 外部的 jboss-log4j.xml? 如果是 - 应该改变什么?
Is it possible to configure JBoss 5.x to use jboss-log4j.xml located outside from JBOSS_HOME?
If yes - what should be changed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
conf/jboss-service.xml
文件包含对jboss-log4j.xml
的引用:我不确定
resource:jboss-log4j.xml< /code> 的意思是准确的,但是
ConfigurationURL
听起来像是您可以传入file://
样式的 URL,指定外部 log4j 文件。The
conf/jboss-service.xml
file contains the reference tojboss-log4j.xml
:I'm not sure what
resource:jboss-log4j.xml
means, exactly, butConfigurationURL
sounds like something you could pass in afile://
-style URL to, specifying an external log4j file.