Dunno if this should automatically work -- adding the right logging module.

But you can specify your module dependency via jboss-structure.xml:
(put it to your META-INF)

e.g. https://github.com/alesj/grapher/blob/master/dist/src/main/webapp/WEB-INF/jboss-structure.xml

This is how I pull in MSC, Modules and Common-Core.

I ask this on the forum, but haven't gotten a response, so I figured I would try here.

I have been porting an application up to AS 7.  In doing that, I changed the logging I was doing in the application (mostly trace level), and I changed it to use JBoss Logging directly.  When I deploy the application, it fails with a class not found exception, where it cannot find the Level class.  So, my questions are.

Is JBoss Logging exposed as a public API through the module system?  If not, was that intentional?  If not, what is the recommended approach?

Andy
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev