[infinispan-issues] [JBoss JIRA] (ISPN-2792) Allow logging at TRACE for a single test in the test suite
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Tue Feb 5 03:17:51 EST 2013
Dan Berindei created ISPN-2792:
----------------------------------
Summary: Allow logging at TRACE 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
Fix For: 5.2.1, 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