logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1585241 - /logging/log4j/log4j2/trunk/log4j-core/src/test/resources/README.md
Date Sun, 06 Apr 2014 03:56:23 GMT
Author: mattsicker
Date: Sun Apr  6 03:56:23 2014
New Revision: 1585241

URL: http://svn.apache.org/r1585241
Log:
Update unit test documentation.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/resources/README.md

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/resources/README.md
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/resources/README.md?rev=1585241&r1=1585240&r2=1585241&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/resources/README.md (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/resources/README.md Sun Apr  6 03:56:23
2014
@@ -4,10 +4,10 @@ provided for your convenience in writing
 Test Plugins
 ------------
 
-Included are various Log4j plugins that are only useful for writing tests. To enable these
plugins for your test,
-make sure to include `org.apache.logging.log4j.test` in the root `packages` attribute of
the config file. For example:
+Included are various Log4j plugins that are only useful for writing tests. These test plugins
are automatically made
+available to test classes. For instance, to use the ListAppender:
 
-    <Configuration packages="org.apache.logging.log4j.test">
+    <Configuration>
       <Appenders>
         <List name="List"/>
       </Appenders>
@@ -55,7 +55,7 @@ reset the `StatusLogger` configuration, 
 Cleaning Up Test Log Files
 --------------------------
 
-The `CleanFiles` rule is also available to automatically delete a list of files before and
after every test.
+The `CleanFiles` rule is also available to automatically delete a list of files after every
test.
 
     @Rule
     public CleanFiles files = new CleanFiles("target/file1.log", "target/file2.log", "more
files");



Mime
View raw message