2 Replies Latest reply on Jun 10, 2014 5:02 PM by jamezp

    TRACE Logs not coming in Console in EAP6.2

    raj_kumar

      All,

       

      In standalone.xml i have added a category to increase the log level to TRACE. But i am not able to see the trace logs in Console, below are is the config :-

       

      <logger category="org.jboss.security">

                      <level name="TRACE"/>

        </logger>

       

      After applying, i am able to see the TRACE in server.log file but not in console. I even tried

       

      <logger category="org.jboss.security">

                      <level name="TRACE"/>

            <handlers>

                          <handler name="CONSOLE"/>

                      </handlers>

        </logger>

       

      Even the above config has no effect, please advice what needs to be done to increase the Console logging?

       

      Thanks in advance

        • 1. Re: TEACE Logs not coming in Console in EAP6.2
          dlofthouse

          The console handler is configured to log at INFO or higher only: -

           

                      <console-handler name="CONSOLE">

                          <level name="INFO"/>

                          <formatter>

                              <named-formatter name="COLOR-PATTERN"/>

                          </formatter>

                      </console-handler>

          Remove the level element and you should see everything you see in the server.log on the console.

          • 2. Re: Re: TEACE Logs not coming in Console in EAP6.2
            jamezp

            Or better yet use CLI

             

            /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=TRACE)
            

             

            --

            James R. Perkins