I think you can try to control the classes in the package org.jboss.classloader. Just add these lines to your jboss-logging.xmlfile (you can find this file in the directory deploy):
<periodic-rotating-file-handler
file-name="${jboss.server.log.dir}/cl.log"
name="CL"
autoflush="true"
append="true"
suffix=".yyyy-MM-dd">
<error-manager>
<only-once/>
</error-manager>
<formatter>
<pattern-formatter pattern="%d %-5p [%c] (%t) %s%E%n"/>
</formatter>
</periodic-rotating-file-handler>
<logger category="org.jboss.classloader">
<level name="TRACE"/>
<handlers>
<handler-ref name="CL"/>
</handlers>
</logger>
After that, you can find some information about loading classes in a file log/cl.log.
More information can be found in this article: EnableClassloaderLogging
source
share