[wildfly-dev] JBoss Modules canonical sample

David M. Lloyd david.lloyd at redhat.com
Tue Feb 18 16:38:44 EST 2014


On 02/18/2014 02:29 PM, Arun Gupta wrote:
> On Tue, Feb 18, 2014 at 2:05 AM, Tomaž Cerar <tomaz.cerar at gmail.com> wrote:
>> What do you mean resolution of service?
>> you have some service registered via ServiceLoader pattern?
> Yes, the API, Impl, and and application module are defined at:
>
> https://github.com/arun-gupta/wildfly-samples/tree/master/jboss-modules
>
>>
>> in that case you need to import also services when you are "importing"
>> module to your application.
> OK, I'm missing this step.
>
> How can this be done ?
>
>>
>> as for logging goes, you can set org.jboss.modules to TRACE
> I enabled TRACE logging but saw no additional log entries. Here is how
> I enabled it:
>
> /subsystem=logging/logger=org.jboss.modules:add
> /subsystem=logging/logger=org.jboss.modules:write-attribute(name="level",
> value="TRACE")

The corresponding handler (console or file or whatever) has to be 
enabled at TRACE as well.

-- 
- DML


More information about the wildfly-dev mailing list