[jboss-as7-dev] EJB3 subsystem and a different kind of logging mess

Jaikiran Pai jpai at redhat.com
Fri May 4 07:37:52 EDT 2012


I just noticed that the i18n loggers in EJB3 subsystem have 
"org.jboss.ejb3" category [1] (and child categories [2]) instead of 
"org.jboss.as.ejb3". The non-i18n logging, in EJB3 subsystem, that 
happens using the usual Logger.getLogger(className) way (obviously) uses 
the org.jboss.as.ejb3 category. So this effectively means that the user 
has to end up configuring multiple different categories for logging from 
the EJB3 subsytem classes. Was it intentional to use "org.jboss.ejb3" 
category for i18n logging? I see that some other subsystems rightly use 
org.jboss.as.xxx category for i18n. Is it too late to change this for 
EJB3 subsystem now?

[1] 
https://github.com/jbossas/jboss-as/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/EjbLogger.java#L90
[2] 
https://github.com/jbossas/jboss-as/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/EjbLogger.java#L95

-Jaikiran


More information about the jboss-as7-dev mailing list