5 Replies Latest reply on Feb 5, 2007 10:41 AM by Radu Aghinii

    multiple @Logger annotations in one class

    Radu Aghinii Newbie

      Hello,

      is there a way to have have multiple @Logger injected logs in one seam object ?

      for example i want the default logger for normal logging purposes and an "AuthLog" for auth events.

      so i have:

       @Logger
       private Log log;
      
       @Logger(value="LoginLog")
       private Log authLog;
      
      


      authLog is fine, but the normal log is null.

      i've done some tests with multiple tags and all logs except the last one listed are null during method execution.

      jboss 4.0.5.GA seam 1.1.5.GA

      radu