1 Reply Latest reply on May 6, 2014 5:26 AM by wdfink

    EAP 6.1 logging

    bvnghiem1012

      Hi!

       

      I configured the root logger as below:

                <root-logger>

                      <level name="INFO"/>

                      <handlers>

                          <handler name="CONSOLE"/>

                          <handler name="FILE"/>

                          <handler name="STARTUP_FILE"/>

                      </handlers>

                  </root-logger> 

       

      And I has a service to remove the handler "STARTUP_FILE" out of root logger when my app started successfully.

      I can get the root logger but the handlers attribute is empty. Anyone can help?

        • 1. Re: EAP 6.1 logging
          wdfink

          How do you try to remove it? It might that you don't see the JBoss root-logger.

          You might use the management API to remove it, but in this case it will be persistent.

          Also I think it will not have a benefit as all the logging go into the FILE as well