[infinispan-issues] [JBoss JIRA] (ISPN-2792) Allow logging at TRACE level for a single test in the test suite

Dan Berindei (JIRA) jira-events at lists.jboss.org
Wed Feb 13 09:19:56 EST 2013


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

Dan Berindei updated ISPN-2792:
-------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/1661

    
> Allow logging at TRACE level for a single test in the test suite
> ----------------------------------------------------------------
>
>                 Key: ISPN-2792
>                 URL: https://issues.jboss.org/browse/ISPN-2792
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Test Suite
>    Affects Versions: 5.2.0.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Minor
>             Fix For: 5.2.2, 5.3.0.Alpha1
>
>
> Log4J has support for [filters|http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/spi/Filter.html] that can allow or disallow log messages based on their properties, e.g. the thread name.
> Since the names of most threads in the test suite include the test name, we should create a filter that only allows a log message if the thread name matches a regular expression.
> There are some threads that don't follow this rule, e.g. the HotRod worker threads, but it should be useful in most cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list