[jboss-jira] [JBoss JIRA] Resolved: (AS7-1149) ASYNC logging logs nothing to the server.log

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue Jul 5 14:10:24 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved AS7-1149.
------------------------------

    Resolution: Duplicate Issue


Duplicates AS7-1150

> ASYNC logging logs nothing to the server.log
> --------------------------------------------
>
>                 Key: AS7-1149
>                 URL: https://issues.jboss.org/browse/AS7-1149
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 7.0.0.Beta3
>            Reporter: Andrig Miller
>            Assignee: David Lloyd
>            Priority: Critical
>             Fix For: 7.1.0.Alpha1
>
>
> 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