Hi all,

Just want to share a lesson I just learnt about use of @Logger to inject a log 
instance.

Import org.jboss.seam.log.Log, NOT org.apache.commons.logging.Log.

This seems obvious once you know, but the doco 
(http://docs.jboss.com/seam/1.0.0.GA/reference/en/html/concepts.html#d0e2598)  
does not show any imports in its example, and when it said "built on top of 
Apache Commons logging" I was misleaded into using the wrong import.

hope this helps somebody,
Daniel.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950560


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to