0 Replies Latest reply on Apr 7, 2005 4:13 AM by chitrasrivats

    Logging problem with JBoss

    chitrasrivats

      Hi,
      Unable to start the application as the application server hangs at this line of the code:

      root.removeAllAppenders();

      root is initialized with the following line

      Logger root = Logger.getRootLogger(); to retrieve the root logger.

      If the line root.removeAllAppenders() is commented, the application again hangs at the follwing line

      root.setLevel(Level.OFF);

      The above lines works right in weblogic and websphere application servers and it is giving a problem in jboss.

      This problem is very specific to Jboss app server.

      Can someone tell me what the problem is?