-
1. Re: Logging JNDI names of beans at INFO level
alrubinger Sep 29, 2008 3:47 AM (in response to jaikiran)Agreed, and I've been thinking about this for a bit too.
One feature enhancement I'd been punting around my head was for the JNDI Registrar to keep track of all bindings that were done, then output them in one legible logging message like:INFO [org.jboss.ejb3.proxy.jndiregistrar.JndiSessionRegistrarBase] EJB "MySessionEJB" has bindings in Global JNDI at: MyEAR/MySessionEJB/local (Implements A, B, C) [Business Local] MyEAR/MySessionEJB/remote (Implements X, Y, Z) [Business Remote] MyEAR/MySessionEJB/home (Implements Q) [EJB 2.x Remote Home]
i.e. One centralized logging statement with some spacing to make it stand out.
Overkill or helpful? Comments appreciated. Might be worthwhile asking for input on the user forum as well.
S,
ALR -
2. Re: Logging JNDI names of beans at INFO level
jaikiran Sep 29, 2008 3:57 AM (in response to jaikiran)"ALRubinger" wrote:
i.e. One centralized logging statement with some spacing to make it stand out.
Overkill or helpful?
I don't think its an overkill. Definitely helpful. Even now we do log these messages (but at a lower level). The centralized logging statement does look like a good idea. The user will get all the jndi names at one single place. -
3. Re: Logging JNDI names of beans at INFO level
jaikiran Sep 29, 2008 4:06 AM (in response to jaikiran)"ALRubinger" wrote:
Might be worthwhile asking for input on the user forum as well.
Yes, we might get some more inputs. -
4. Re: Logging JNDI names of beans at INFO level
jaikiran Sep 30, 2008 2:43 AM (in response to jaikiran)Andrew,
I have created a feature enhancement request https://jira.jboss.org/jira/browse/EJBTHREE-1507 for tracking this. Right now, its Unassigned (by default). If it's ok, i will assign it to myself and start work on it once i am done with EJBTHREE-1401. -
5. Re: Logging JNDI names of beans at INFO level
alrubinger Oct 8, 2008 8:04 AM (in response to jaikiran)Jaikiran:
I was in here anyway today, so I made an example patch and attached it to the JIRA. Feel free to steal the issue away from me.
I've also put out a feeler for community input at http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181001
S,
ALR -
6. Re: Logging JNDI names of beans at INFO level
alrubinger Oct 14, 2008 2:56 AM (in response to jaikiran)With no objections this has been committed and resolved.
S,
ALR -
7. Re: Logging JNDI names of beans at INFO level
skajotde Oct 30, 2008 11:46 AM (in response to jaikiran)"ALRubinger" wrote:
Overkill or helpful? Comments appreciated. Might be worthwhile asking for input on the user forum as well.
imho Helpfull ;>