Hi,

We've just started to work with Seam by extending the examples provided in the 
distribution. 
We understood that Seam is providing a logger build on top 
apache.commons.logging. 
As described in the user documentation it can be used by putting @Logger 
private Log log; into the bean code.
We've been trying this with a regular Java bean but the instance variable 
remains NULL all the time.
Our question is, when is it possible to use this logger? Can this one only be 
used with (stateful/stateless) session beans or only with entity beans? We've 
even tried to add the Seam interceptor (@Interceptors(SeamInterceptor.class)) 
to our class, but the logger is still uninitialized.

Could anyone explain the issue?

Thanks in advance,

    Kurt

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964391#3964391

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964391
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to