[jboss-user] [JBoss Seam] - multiple @Logger annotations in one class

raghinii do-not-reply at jboss.com
Sun Feb 4 00:56:00 EST 2007


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

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

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



More information about the jboss-user mailing list