[jboss-jira] [JBoss JIRA] Created: (JBAS-6788) EJB startup and discovery should be DEBUG level, not INFO

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Apr 15 07:59:23 EDT 2009


EJB startup and discovery should be DEBUG level, not INFO
---------------------------------------------------------

                 Key: JBAS-6788
                 URL: https://jira.jboss.org/jira/browse/JBAS-6788
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB3
            Reporter: Pete Muir
            Assignee: Carlo de Wolf


On 15 Apr 2009, at 12:46, Dimitris Andreadis wrote:

2) Logging discovery of components
INFO [JBossASKernel] installing bean: jboss.j2ee:ear=webbeans-translator.ear,jar=webbeans-translator.jar,name=SentenceTranslator,service=EJB3 INFO  [JBossASKernel]   with dependencies:
INFO  [JBossASKernel]   and demands:
INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService
INFO  [JBossASKernel]   and supplies:
INFO  [JBossASKernel]     jndi:webbeans-translator/SentenceTranslator/local-org.jboss.webbeans.examples.translator.Translator INFO  [JBossASKernel]     Class:org.jboss.webbeans.examples.translator.Translator
INFO  [JBossASKernel]     jndi:webbeans-translator/SentenceTranslator/local
INFO  [JBossASKernel]     jndi:webbeans-translator/SentenceTranslator/remote
INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=webbeans-translator.ear,jar=webbeans-translator.jar,name=SentenceTranslator,service=EJB3) to KernelDeployment of: webbeans-translator.jar
INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=webbeans-translator.ear,jar=webbeans-translator.jar,name=TranslatorControllerBean,service=EJB3 INFO  [JBossASKernel]   with dependencies:
INFO  [JBossASKernel]   and demands:
INFO  [JBossASKernel]     jboss.ejb:service=EJBTimerService
INFO  [JBossASKernel]   and supplies:
INFO  [JBossASKernel]     jndi:webbeans-translator/TranslatorControllerBean/local-org.jboss.webbeans.examples.translator.TranslatorController INFO  [JBossASKernel]     Class:org.jboss.webbeans.examples.translator.TranslatorController
INFO  [JBossASKernel]     jndi:webbeans-translator/TranslatorControllerBean/remote
INFO  [JBossASKernel]     jndi:webbeans-translator/TranslatorControllerBean/local
INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=webbeans-translator.ear,jar=webbeans-translator.jar,name=TranslatorControllerBean,service=EJB3) to KernelDeployment of: webbeans-translator.jar
etc.

This is probably crap. It doesn't have to be that verbose in the console. You just need to know that something got deployed, you don't need to know the full dependency list, it should be at DEBUG level.
3) warning people about deprecation (standard practice, easy to fix :-)
4) Logging start of components
INFO  [EJBContainer] STARTED EJB: org.jboss.webbeans.examples.translator.SentenceTranslator ejbName: SentenceTranslator
  INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
   webbeans-translator/SentenceTranslator/local - EJB3.x Default Local Business Interface
   webbeans-translator/SentenceTranslator/local-org.jboss.webbeans.examples.translator.Translator - EJB3.x Local Business Interface
 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=webbeans-translator.ear,jar=webbeans-translator.jar,name=TranslatorControllerBean,service=EJB3   INFO  [EJBContainer] STARTED EJB: org.jboss.webbeans.examples.translator.TranslatorControllerBean ejbName: TranslatorControllerBean
 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
   webbeans-translator/TranslatorControllerBean/local - EJB3.x Default Local Business Interface
   webbeans-translator/TranslatorControllerBean/local-org.jboss.webbeans.examples.translator.TranslatorController - EJB3.x Local Business Interface

This, too, should be DEBUG.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list