如何将Jboss中的类加载器的日志级别更改为7?
作为旁注; 我已经在Jboss 5及更低版本中找到了有关如何执行此操作的信息,但由于Jboss 7中的类加载和日志记录已完全更改,因此我无法弄清楚如何执行此操作。
答案 0 :(得分:5)
在启动脚本中将以下内容添加到JAVA_OPTS。
-verbose:class
以下是您的Jboss配置文件(例如standalone.xml)。
<profile>
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<logger category="org.jboss.as.deployment">
<level name="DEBUG"/>
</logger>
</subsystem>
</profile>