Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1149

ASYNC logging logs nothing to the server.log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 7.0.0.Beta1
    • 7.0.0.Beta3
    • Logging
    • None
    • Hide

      Add the asynch-handler into the logging configuration, and reference it in the root logger.

      Show
      Add the asynch-handler into the logging configuration, and reference it in the root logger.

    Description

      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>

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            rhn-engineering-anmiller Andrig Miller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: