[jboss-jira] [JBoss JIRA] Created: (JBLOGGING-67) ASYNC logging logs nothing to the server.log

Andrig Miller (JIRA) jira-events at lists.jboss.org
Wed Jun 29 20:03:23 EDT 2011


ASYNC logging logs nothing to the server.log
--------------------------------------------

                 Key: JBLOGGING-67
                 URL: https://issues.jboss.org/browse/JBLOGGING-67
             Project: JBoss Logging
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.0.0.CR1
            Reporter: Andrig Miller
            Assignee: David Lloyd
            Priority: Critical
             Fix For: 3.0.0.CR2


I configured AS 7 CR 1 to use Asynchronous logging as that release had the fix in it to have it parse the configuration correctly, but nothing ever gets written to the server.log.

My configuration is as follows:

<subsystem xmlns="urn:jboss:domain:logging:1.0">
            <async-handler name="ASYNC">
                <level name="INFO"/>
                <queue-length value="1024"/>
                <overflow-action value="BLOCK"/>
                <subhandlers>
                    <handler name="FILE"/>
                </subhandlers>
            </async-handler>
            <periodic-rotating-file-handler name="FILE" autoflush="true">
                <level name="INFO"/>
                <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"/>
            </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>
            <root-logger>
                <level name="INFO"/>
                <handlers>
                    <handler name="ASYNC"/>
                </handlers>
            </root-logger>
        </subsystem>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list