0 Replies Latest reply: May 4, 2012 8:54 AM by Vatsan Madabushi RSS

How do I enable extended logging in JB 7.1.1 Final

Vatsan Madabushi Newbie

I have updated the loggin sub-system (as below) to give me more loggingo information, but nothing extra is showiing on exceptions (e.g.: when a remote EJB client is trying to connect, the client gets a SASL exception, but I dont see anythign in logs.).  I tried TRACE and DEBUG, but no change.  What am I doing wrong?

 

 

<subsystem xmlns="urn:jboss:domain:logging:1.1">

            <console-handler name="CONSOLE">

                <level name="TRACE"/>

                <formatter>

                    <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                </formatter>

            </console-handler>

            <periodic-rotating-file-handler name="FILE">

                <formatter>

                    <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                </formatter>

                <file relative-to="jboss.server.log.dir" path="server.log"/>

                <suffix value=".yyyy-MM-dd"/>

                <append value="true"/>

            </periodic-rotating-file-handler>

            <logger category="com.arjuna">

                <level name="WARN"/>

            </logger>

            <logger category="org.apache.tomcat.util.modeler">

                <level name="WARN"/>

            </logger>

            <logger category="sun.rmi">

                <level name="WARN"/>

            </logger>

            <logger category="jacorb">

                <level name="WARN"/>

            </logger>

            <logger category="remoting">

                <level name="TRACE"/>

            </logger>

            <logger category="security">

                <level name="TRACE"/>

            </logger>

            <logger category="jacorb.config">

                <level name="ERROR"/>

            </logger>

            <root-logger>

                <level name="INFO"/>

                <handlers>

                    <handler name="CONSOLE"/>

                    <handler name="FILE"/>

                </handlers>

            </root-logger>

        </subsystem>