0 Replies Latest reply on Jun 12, 2006 9:14 PM by Daniel Young

    A note about the use of @Logger

    Daniel Young Novice

      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.