----------------------------------------------------
This email is autogenerated from the output from:
<http://cvs.apache.org/builds/gump/2003-08-01/log4j-tests.html>
----------------------------------------------------
Buildfile: build.xml
parentBuild:
Caught exception (org.apache.tools.ant.BuildException) while expanding
site2.classpath: /home/rubys/jakarta/jakarta-log4j/${jakarta-site2}/lib not found.
init:
build.core:
oroCheck:
chainsawCheck:
build.chainsaw:
build.examples:
jaxpCheck:
jaxp:
[echo] JAXP present.
build.xml:
javamailCheck:
javamail:
build.javamail:
jmsCheck:
jms:
jndiCheck:
jndi:
[echo] JNDI is present.
build.jms:
jmxCheck:
jmx:
build.jmx:
avalonFrameworkCheck:
avalonFramework:
build.avalonFramework:
build:
prepare:
build:
cleanOutputDir:
[delete] Deleting 24 files from /home/rubys/jakarta/jakarta-log4j/tests/output
Minimum:
[junit] Running org.apache.log4j.MinimumTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.841 sec
[junit] Testsuite: org.apache.log4j.MinimumTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.841 sec
[junit] Testcase: simple took 0.693 sec
[junit] Testcase: ttcc took 0.144 sec
Logger:
[junit] Running org.apache.log4j.LoggerTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.313 sec
[junit] Testsuite: org.apache.log4j.LoggerTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.313 sec
[junit] ------------- Standard Error -----------------
[junit] log4j:WARN No appenders could be found for logger (x).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] ------------- ---------------- ---------------
[junit] Testcase: testAppender1 took 0.264 sec
[junit] Testcase: testAppender2 took 0.001 sec
[junit] Testcase: testAdditivity1 took 0.027 sec
[junit] Testcase: testAdditivity2 took 0.001 sec
[junit] Testcase: testAdditivity3 took 0.001 sec
[junit] Testcase: testDisable1 took 0.008 sec
[junit] Testcase: testRB1 took 0 sec
[junit] Testcase: testRB2 took 0.003 sec
[junit] Testcase: testRB3 took 0 sec
[junit] Testcase: testExists took 0.001 sec
[junit] Testcase: testHierarchy1 took 0 sec
DOM:
[junit] Running org.apache.log4j.xml.DOMTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.679 sec
[junit] Testsuite: org.apache.log4j.xml.DOMTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.679 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: Trying to find [log4j.xml] using context classloader [EMAIL
PROTECTED]
[junit] log4j: Trying to find [log4j.xml] using [EMAIL PROTECTED] class loader.
[junit] log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
[junit] log4j: Trying to find [log4j.properties] using context classloader [EMAIL
PROTECTED]
[junit] log4j: Trying to find [log4j.properties] using [EMAIL PROTECTED] class
loader.
[junit] log4j: Trying to find [log4j.properties] using
ClassLoader.getSystemResource().
[junit] log4j: Could not find resources to perform automatic configuration.
[junit] log4j: System property [javax.xml.parsers.DocumentBuilderFactory] is: null
[junit] log4j: Search for the standard DocumentBuilderFactory succeded.
[junit] log4j: DocumentBuilderFactory is:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
[junit] log4j: debug attribute= "null".
[junit] log4j: Ignoring debug attribute.
[junit] log4j: Threshold ="null".
[junit] log4j: Retreiving an instance of org.apache.log4j.Logger.
[junit] log4j: Setting [org.apache.log4j.xml] additivity to [true].
[junit] log4j: Level value for org.apache.log4j.xml is [debug].
[junit] log4j: org.apache.log4j.xml level set to DEBUG
[junit] log4j: Class name: [org.apache.log4j.FileAppender]
[junit] log4j: Setting property [file] to [output/temp.A1].
[junit] log4j: Setting property [append] to [false].
[junit] log4j-internal: 1 xml.DOMConfigurator - Handling nested <layout> for
appender A1
[junit] log4j-internal: 2 config.PropertySetter - Found setter method for
property [layout] in class org.apache.log4j.FileAppender
[junit] log4j-internal: 2 xml.DOMConfigurator - Will instantiate instance of
class [org.apache.log4j.PatternLayout]
[junit] log4j-internal: 2 xml.DOMConfigurator - Configuring parameter
[ConversionPattern] for <layout>.
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j-internal: 12 config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: setFile called: output/temp.A1, false
[junit] log4j: setFile ended
[junit] log4j: Adding appender named [A1] to category [org.apache.log4j.xml].
[junit] log4j: Level value for root is [debug].
[junit] log4j: root level set to DEBUG
[junit] log4j: Adding appender named [A1] to category [root].
[junit] log4j: Class name: [org.apache.log4j.FileAppender]
[junit] log4j: Setting property [file] to [output/temp.A2].
[junit] log4j: Setting property [append] to [false].
[junit] log4j-internal: 14 xml.DOMConfigurator - Handling nested <layout> for
appender A2
[junit] log4j-internal: 14 config.PropertySetter - Found setter method for
property [layout] in class org.apache.log4j.FileAppender
[junit] log4j-internal: 14 xml.DOMConfigurator - Will instantiate instance of
class [org.apache.log4j.TTCCLayout]
[junit] log4j-internal: 28 xml.DOMConfigurator - Configuring parameter
[DateFormat] for <layout>.
[junit] log4j: Setting property [dateFormat] to [ISO8601].
[junit] log4j-internal: 53 config.PropertySetter - Set child component of type
[org.apache.log4j.TTCCLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: setFile called: output/temp.A2, false
[junit] log4j: setFile ended
[junit] log4j: Adding appender named [A2] to category [root].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 1.675 sec
CustomLevel:
[junit] Running org.apache.log4j.xml.CustomLevelTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.567 sec
[junit] Testsuite: org.apache.log4j.xml.CustomLevelTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.567 sec
[junit] ------------- Standard Output ---------------
[junit] log4j-internal: 0 xml.DOMConfigurator - Handling nested <layout> for
appender TEMP
[junit] log4j-internal: 1 config.PropertySetter - Found setter method for
property [layout] in class org.apache.log4j.FileAppender
[junit] log4j-internal: 2 xml.DOMConfigurator - Will instantiate instance of
class [org.apache.log4j.PatternLayout]
[junit] log4j-internal: 2 xml.DOMConfigurator - Configuring parameter
[ConversionPattern] for <layout>.
[junit] log4j-internal: 9 config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: xml.DOMConfigurator - Handling nested <layout> for appender TEMP
[junit] log4j: config.PropertySetter - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
[junit] log4j: xml.DOMConfigurator - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
[junit] log4j: xml.DOMConfigurator - Configuring parameter [ConversionPattern]
for <layout>.
[junit] log4j: config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: xml.DOMConfigurator - Handling nested <filter> for appender TEMP
[junit] log4j: config.PropertySetter - Found addFilter method in class
org.apache.log4j.FileAppender
[junit] log4j: xml.DOMConfigurator - Will instantiate instance of class
[org.apache.log4j.varia.LevelMatchFilter]
[junit] log4j: xml.DOMConfigurator - Configuring parameter [LevelToMatch] for
<filter>.
[junit] log4j: xml.DOMConfigurator - Configuring parameter [AcceptOnMatch] for
<filter>.
[junit] log4j: xml.DOMConfigurator - Handling nested <layout> for appender TEMP
[junit] log4j: config.PropertySetter - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
[junit] log4j: xml.DOMConfigurator - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
[junit] log4j: xml.DOMConfigurator - Configuring parameter [ConversionPattern]
for <layout>.
[junit] log4j: config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: xml.DOMConfigurator - Handling nested <filter> for appender TEMP
[junit] log4j: config.PropertySetter - Found addFilter method in class
org.apache.log4j.FileAppender
[junit] log4j: xml.DOMConfigurator - Will instantiate instance of class
[org.apache.log4j.varia.LevelMatchFilter]
[junit] log4j: xml.DOMConfigurator - Configuring parameter [LevelToMatch] for
<filter>.
[junit] log4j: xml.DOMConfigurator - Configuring parameter [AcceptOnMatch] for
<filter>.
[junit] log4j: xml.DOMConfigurator - Handling nested <filter> for appender TEMP
[junit] log4j: config.PropertySetter - Found addFilter method in class
org.apache.log4j.FileAppender
[junit] log4j: xml.DOMConfigurator - Will instantiate instance of class
[org.apache.log4j.varia.DenyAllFilter]
[junit] log4j: Threshold ="null".
[junit] log4j: Level value for root is [TRACE#org.apache.log4j.xml.XLevel].
[junit] log4j: toLevel:class=[org.apache.log4j.xml.XLevel]:pri=[TRACE]
[junit] log4j: root level set to TRACE
[junit] log4j: Class name: [org.apache.log4j.FileAppender]
[junit] log4j: Setting property [append] to [false].
[junit] log4j: Setting property [file] to [output/temp].
[junit] log4j: xml.DOMConfigurator - Handling nested <layout> for appender TEMP
[junit] log4j: config.PropertySetter - Found setter method for property [layout]
in class org.apache.log4j.FileAppender
[junit] log4j: xml.DOMConfigurator - Will instantiate instance of class
[org.apache.log4j.PatternLayout]
[junit] log4j: xml.DOMConfigurator - Configuring parameter [ConversionPattern]
for <layout>.
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m
[junit] ].
[junit] log4j: config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: setFile called: output/temp, false
[junit] log4j: setFile ended
[junit] log4j: Adding appender named [TEMP] to category [root].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 1.14 sec
[junit] Testcase: test2 took 0.326 sec
[junit] Testcase: test3 took 0.036 sec
[junit] Testcase: test4 took 0.059 sec
CustomLogger:
[junit] Running org.apache.log4j.customLogger.XLoggerTestCase
[junit] log4j-internal: 0 xml.DOMConfigurator - Handling nested <layout> for
appender TEMP
[junit] log4j-internal: 2 config.PropertySetter - Found setter method for
property [layout] in class org.apache.log4j.FileAppender
[junit] log4j-internal: 2 xml.DOMConfigurator - Will instantiate instance of
class [org.apache.log4j.PatternLayout]
[junit] log4j-internal: 5 xml.DOMConfigurator - Configuring parameter
[ConversionPattern] for <layout>.
[junit] log4j-internal: 12 config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.113 sec
[junit] Testsuite: org.apache.log4j.customLogger.XLoggerTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.113 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: Threshold ="null".
[junit] log4j: Level value for root is [TRACE].
[junit] log4j: Desired Level sub-class: [org.apache.log4j.xml.XLevel]
[junit] log4j: root level set to TRACE
[junit] log4j: Class name: [org.apache.log4j.FileAppender]
[junit] log4j: Setting property [append] to [false].
[junit] log4j: Setting property [file] to [output/temp].
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j: Setting property [levelToMatch] to
[TRACE#org.apache.log4j.xml.XLevel].
[junit] log4j: toLevel:class=[org.apache.log4j.xml.XLevel]:pri=[TRACE]
[junit] log4j: Setting property [acceptOnMatch] to [true].
[junit] log4j: setFile called: output/temp, false
[junit] log4j: setFile ended
[junit] log4j: Adding appender named [TEMP] to category [root].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] log4j:WARN No appenders could be found for logger
(LOG4J.org.apache.log4j.xml.DOMConfigurator).
[junit] log4j:WARN Please initialize the log4j system properly.
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 1.015 sec
[junit] Testcase: test2 took 0.091 sec
PatternLayout:
[junit] Running org.apache.log4j.PatternLayoutTestCase
[junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.797 sec
[junit] Testsuite: org.apache.log4j.PatternLayoutTestCase
[junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 1.797 sec
[junit] ------------- Standard Output ---------------
[junit] [EMAIL PROTECTED]
[junit] [EMAIL PROTECTED]
[junit] [EMAIL PROTECTED]
[junit] [EMAIL PROTECTED]
[junit] [EMAIL PROTECTED]
[junit] [EMAIL PROTECTED]
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 0.485 sec
[junit] Testcase: test2 took 0.146 sec
[junit] Testcase: test3 took 0.069 sec
[junit] Testcase: test4 took 0.067 sec
[junit] Testcase: test5 took 0.052 sec
[junit] Testcase: test6 took 0.096 sec
[junit] Testcase: test7 took 0.051 sec
[junit] Testcase: test8 took 0.063 sec
[junit] Testcase: test9 took 0.051 sec
[junit] Testcase: test10 took 0.113 sec
[junit] Testcase: test11 took 0.126 sec
[junit] Testcase: test12 took 0.275 sec
[junit] Testcase: test13 took 0.066 sec
[junit] Testcase: test14 took 0.087 sec
[junit] Testcase: testMDCAllowAllKeys took 0.044 sec
HierarchyThreshold:
[delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/output/temp
[junit] Running org.apache.log4j.HierarchyThresholdTestCase
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.33 sec
[junit] Testsuite: org.apache.log4j.HierarchyThresholdTestCase
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.33 sec
[junit] ------------- Standard Output ---------------
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] Tearing down test case.
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 0.128 sec
[junit] Testcase: test2 took 0.036 sec
[junit] Testcase: test3 took 0.03 sec
[junit] Testcase: test4 took 0.006 sec
[junit] Testcase: test5 took 0.032 sec
[junit] Testcase: test6 took 0.058 sec
[junit] Testcase: test7 took 0.028 sec
[junit] Testcase: test8 took 0.005 sec
DefaultInit:
[junit] Running org.apache.log4j.defaultInit.TestCase1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.21 sec
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.21 sec
[junit] Testcase: noneTest took 0.205 sec
[copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase2
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.01 sec
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase2
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.01 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: Threshold ="null".
[junit] log4j: Level value for root is [OFF].
[junit] log4j: root level set to OFF
[junit] log4j: Class name: [org.apache.log4j.ConsoleAppender]
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j: Adding appender named [D1] to category [root].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] ------------- ---------------- ---------------
[junit] Testcase: xmlTest took 1.006 sec
[delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.xml
[copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.159 sec
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.159 sec
[junit] Testcase: noneTest took 0.154 sec
[delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.xml
[copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase3
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.336 sec
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase3
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.336 sec
[junit] ------------- Standard Output ---------------
[junit] [EMAIL PROTECTED]
[junit] ------------- ---------------- ---------------
[junit] Testcase: propertiesTest took 0.33 sec
[delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.properties
[copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
[copy] Copying 1 file to /home/rubys/jakarta/jakarta-log4j/tests/classes
[junit] Running org.apache.log4j.defaultInit.TestCase4
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.015 sec
[junit] Testsuite: org.apache.log4j.defaultInit.TestCase4
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.015 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: Threshold ="null".
[junit] log4j: Level value for root is [OFF].
[junit] log4j: root level set to OFF
[junit] log4j: Class name: [org.apache.log4j.ConsoleAppender]
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j: Adding appender named [D1] to category [root].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] ------------- ---------------- ---------------
[junit] Testcase: combinedTest took 1.01 sec
[delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.xml
[delete] Deleting: /home/rubys/jakarta/jakarta-log4j/tests/classes/log4j.properties
SocketServer:
[junit] Running org.apache.log4j.net.SocketServerTestCase
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.027 sec
[junit] Testsuite: org.apache.log4j.net.SocketServerTestCase
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.027 sec
[junit] ------------- Standard Output ---------------
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] Setting up test case.
[junit] Tearing down test case.
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 1.333 sec
[junit] Testcase: test2 took 1.205 sec
[junit] Testcase: test3 took 1.101 sec
[junit] Testcase: test4 took 1.073 sec
[junit] Testcase: test5 took 2.159 sec
[junit] Testcase: test6 took 2.044 sec
[junit] Testcase: test7 took 2.055 sec
[junit] Testcase: test8 took 2.051 sec
XMLLayout:
[junit] Running org.apache.log4j.xml.XMLLayoutTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.702 sec
[junit] Testsuite: org.apache.log4j.xml.XMLLayoutTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.702 sec
[junit] Testcase: basic took 0.498 sec
[junit] Testcase: locationInfo took 0.089 sec
[junit] Testcase: testCDATA took 0.018 sec
[junit] Testcase: testNull took 0.036 sec
[junit] Testcase: testMDC took 0.057 sec
AsyncAppender:
[junit] Running org.apache.log4j.AsyncAppenderTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 23.001 sec
[junit] Testsuite: org.apache.log4j.AsyncAppenderTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 23.001 sec
[junit] ------------- Standard Output ---------------
[junit] Done loop.
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] log4j:ERROR Attempted to append to closed appender named [async-CloseTest].
[junit] log4j:ERROR Attempted to append to closed appender named [async-test2].
[junit] log4j:ERROR Attempted to append to closed appender named [async-test3].
[junit] ------------- ---------------- ---------------
[junit] Testcase: closeTest took 0.545 sec
[junit] Testcase: test2 took 0.112 sec
[junit] Testcase: test3 took 22.338 sec
ErrorHandler:
[junit] Running org.apache.log4j.varia.ErrorHandlerTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.22 sec
[junit] Testsuite: org.apache.log4j.varia.ErrorHandlerTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.22 sec
[junit] ------------- Standard Output ---------------
[junit] log4j: Threshold ="null".
[junit] log4j: Level value for root is [debug].
[junit] log4j: root level set to DEBUG
[junit] log4j: Class name: [org.apache.log4j.FileAppender]
[junit] log4j: FB: Setting primary appender to [PRIMARY].
[junit] log4j: FB: Adding logger [root].
[junit] log4j: Class name: [org.apache.log4j.FileAppender]
[junit] log4j: Setting property [file] to [output/temp].
[junit] log4j: Setting property [append] to [false].
[junit] log4j-internal: 0 xml.DOMConfigurator - Handling nested <layout> for
appender FALLBACK
[junit] log4j-internal: 1 config.PropertySetter - Found setter method for
property [layout] in class org.apache.log4j.FileAppender
[junit] log4j-internal: 1 xml.DOMConfigurator - Will instantiate instance of
class [org.apache.log4j.PatternLayout]
[junit] log4j-internal: 2 xml.DOMConfigurator - Configuring parameter
[ConversionPattern] for <layout>.
[junit] log4j: Setting property [conversionPattern] to [FALLBACK - %c - %m%n].
[junit] log4j-internal: 9 config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: setFile called: output/temp, false
[junit] log4j: setFile ended
[junit] log4j: FB: Setting backup appender to [FALLBACK].
[junit] log4j: Setting property [file] to [/xyz/x.log].
[junit] log4j: Setting property [append] to [false].
[junit] log4j-internal: 11 xml.DOMConfigurator - Handling nested <layout> for
appender PRIMARY
[junit] log4j-internal: 12 config.PropertySetter - Found setter method for
property [layout] in class org.apache.log4j.FileAppender
[junit] log4j-internal: 12 xml.DOMConfigurator - Will instantiate instance of
class [org.apache.log4j.PatternLayout]
[junit] log4j-internal: 12 xml.DOMConfigurator - Configuring parameter
[ConversionPattern] for <layout>.
[junit] log4j: Setting property [conversionPattern] to [%-5p %c{2} - %m%n].
[junit] log4j-internal: 13 config.PropertySetter - Set child component of type
[org.apache.log4j.PatternLayout] for [org.apache.log4j.FileAppender].
[junit] log4j: setFile called: /xyz/x.log, false
[junit] xx/xyz/x.log
[junit] log4j: FB: The following error reported: setFile(/xyz/x.log,false) call
failed.
[junit] java.io.FileNotFoundException: /xyz/x.log (No such file or directory)
[junit] at java.io.FileOutputStream.open(Native Method)
[junit] at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
[junit] at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
[junit] at org.apache.log4j.FileAppender.setFile(FileAppender.java:297)
[junit] at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:185)
[junit] at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:359)
[junit] at
org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:261)
[junit] at
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:188)
[junit] at
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:203)
[junit] at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:532)
[junit] at
org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:505)
[junit] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:892)
[junit] at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:782)
[junit] at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:731)
[junit] at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:701)
[junit] at
org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:801)
[junit] at
org.apache.log4j.varia.ErrorHandlerTestCase.test1(ErrorHandlerTestCase.java:95)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:316)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:538)
[junit] log4j: FB: INITIATING FALLBACK PROCEDURE.
[junit] log4j: FB: Searching for [PRIMARY] in logger [root].
[junit] log4j: FB: Replacing [PRIMARY] by [FALLBACK] in logger [root].
[junit] log4j: FB: Adding appender [FALLBACK] to logger root
[junit] log4j: Adding appender named [PRIMARY] to category [root].
[junit] ------------- ---------------- ---------------
[junit] ------------- Standard Error -----------------
[junit] piblicID: [null]
[junit] systemId: [dummy://log4j.dtd/log4j.dtd]
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 1.216 sec
OptionConverter:
[junit] Running org.apache.log4j.helpers.OptionConverterTestCase
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.058
secnullTestsuite: org.apache.log4j.helpers.OptionConverterTestCasenullTests run: 10,
Failures: 0, Errors: 0, Time elapsed: 0.058 secnull------------- Standard Output
---------------nullResult is [x1].
[junit] ------------- ---------------- ---------------null------------- Standard
Error -----------------nulllog4j:WARN custom level class [org.apache.log4j.xml.TOTO]
not found.
[junit] ------------- ---------------- ---------------nullnullTestcase:
varSubstTest5 took 0.021 sec
[junit] Testcase: varSubstTest1 took 0 sec
[junit] Testcase: varSubstTest2 took 0 sec
[junit] Testcase: varSubstTest3 took 0.001 sec
[junit] Testcase: varSubstTest4 took 0.001 sec
[junit] Testcase: toLevelTest1 took 0.015 sec
[junit] Testcase: toLevelTest2 took 0.011 sec
[junit] Testcase: toLevelTest3 took 0.001 sec
[junit] Testcase: toLevelTest4 took 0 sec
[junit] Testcase: toLevelTest5 took 0.003 sec
BoundedFIFO:
[junit] Running org.apache.log4j.helpers.BoundedFIFOTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.099 sec
[junit] Testsuite: org.apache.log4j.helpers.BoundedFIFOTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.099 sec
[junit] Testcase: test1 took 0.053 sec
[junit] Testcase: test2 took 0 sec
[junit] Testcase: testResize1 took 0.004 sec
[junit] Testcase: testResize2 took 0.027 sec
[junit] Testcase: testResize3 took 0.011 sec
CyclicBuffer:
[junit] Running org.apache.log4j.helpers.CyclicBufferTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.059 sec
[junit] Testsuite: org.apache.log4j.helpers.CyclicBufferTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.059 sec
[junit] Testcase: test0 took 0.007 sec
[junit] Testcase: test1 took 0.043 sec
[junit] Testcase: testResize took 0.004 sec
OR:
[junit] Running org.apache.log4j.or.ORTestCase
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
[junit] Testsuite: org.apache.log4j.or.ORTestCase
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
[junit] Testcase: test1 took 0.016 sec
[junit] Testcase: test2 took 0 sec
[junit] Testcase: test3 took 0 sec
[junit] Testcase: test4 took 0 sec
[junit] Testcase: test5 took 0 sec
[junit] Testcase: test6 took 0.007 sec
[junit] Testcase: test7 took 0.001 sec
[junit] Testcase: test8 took 0.001 sec
[junit] Testcase: test9 took 0.012 sec
[junit] Testcase: test10 took 0.001 sec
VariaLevelMatchFilter:
[junit] Running org.apache.log4j.varia.LevelMatchFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.243 sec
[junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.243 sec
[junit] Testcase: accept took 0.227 sec
[junit] Testcase: deny took 0.012 sec
VariaLevelRangeFilter:
[junit] Running org.apache.log4j.varia.LevelRangeFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.328 sec
[junit] Testsuite: org.apache.log4j.varia.LevelRangeFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.328 sec
[junit] Testcase: accept took 0.225 sec
[junit] Testcase: neutral took 0.098 sec
PatternParser:
[junit] Running org.apache.log4j.helpers.PatternParserTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.265 sec
[junit] Testsuite: org.apache.log4j.helpers.PatternParserTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.265 sec
[junit] Testcase: mdcPattern took 0.261 sec
LevelMatchFilter:
[junit] Running org.apache.log4j.varia.LevelMatchFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.223 sec
[junit] Testsuite: org.apache.log4j.varia.LevelMatchFilterTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.223 sec
[junit] Testcase: accept took 0.209 sec
[junit] Testcase: deny took 0.009 sec
DRFA:
[junit] Running org.apache.log4j.DRFATestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.514 sec
[junit] Testsuite: org.apache.log4j.DRFATestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.514 sec
[junit] ------------- Standard Output ---------------
[junit] Month = 1
[junit] Month = 3
[junit] Month = 5
[junit] Month = 7
[junit] Month = 8
[junit] Month = 10
[junit] Month = 12
[junit] Month = 3
[junit] Month = 10
[junit] Month = 1
[junit] Month = 5
[junit] Month = 7
[junit] Month = 8
[junit] Month = 12
[junit] ------------- ---------------- ---------------
[junit] Testcase: testComputeCheckPeriod took 0.286 sec
[junit] Testcase: testRC1 took 0.161 sec
[junit] Testcase: testRC2 took 3.647 sec
[junit] Testcase: testRC3 took 3.416 sec
Plugins:
[junit] Running org.apache.log4j.plugins.PluginTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
[junit] Testsuite: org.apache.log4j.plugins.PluginTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.239 sec
[junit] Testcase: test1 took 0.224 sec
[junit] Testcase: test2 took 0.011 sec
SizeBasedRolling:
[junit] Running org.apache.log4j.rolling.SizeBasedRollingTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 25.585 sec
[junit] Testsuite: org.apache.log4j.rolling.SizeBasedRollingTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 25.585 sec
[junit] ------------- Standard Output ---------------
[junit] Active log file name: output/sizeBased-test2
[junit] Hello 0
[junit] Hello 1
[junit] Hello 2
[junit] Hello 3
[junit] Hello 4
[junit] Hello 5
[junit] Hello 6
[junit] Hello 7
[junit] Hello 8
[junit] Hello 9
[junit] Hello 10
[junit] About to rollover
[junit] Renaming file [output/sizeBased-test2] to [output/sizeBased-test2.1]
[junit] Active file name is now [output/sizeBased-test2].
[junit] Hello 11
[junit] Hello 12
[junit] Hello 13
[junit] Hello 14
[junit] Hello 15
[junit] Hello 16
[junit] Hello 17
[junit] Hello 18
[junit] Hello 19
[junit] Hello 20
[junit] About to rollover
[junit] Renaming file [output/sizeBased-test2.1] to [output/sizeBased-test2.2]
[junit] Renaming file [output/sizeBased-test2] to [output/sizeBased-test2.1]
[junit] Active file name is now [output/sizeBased-test2].
[junit] Hello 21
[junit] Hello 22
[junit] Hello 23
[junit] Hello 24
[junit] ------------- ---------------- ---------------
[junit] Testcase: test2 took 25.58 sec
Compress:
[junit] Running org.apache.log4j.rolling.helpers.CompressTestCase
[junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 0.264 sec
[junit] Testsuite: org.apache.log4j.rolling.helpers.CompressTestCase
[junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 0.264 sec
[junit] ------------- Standard Output ---------------
[junit] 0 [main] WARN org.apache.log4j.rolling.helpers.Compress null - The file to
compress named [input/compress1.txt] does not exist.
[junit] 26 [main] WARN org.apache.log4j.rolling.helpers.Compress null - The file
to compress named [input/compress2.txt] does not exist.
[junit] 33 [main] WARN org.apache.log4j.rolling.helpers.Compress null - The file
to compress named [input/compress3.txt] does not exist.
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 0.247 sec
[junit] Caused an ERROR
[junit] output/compress1.txt.gz (No such file or directory)
[junit] java.io.FileNotFoundException: output/compress1.txt.gz (No such file or
directory)
[junit] at java.io.FileInputStream.open(Native Method)
[junit] at java.io.FileInputStream.<init>(FileInputStream.java:103)
[junit] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[junit] at org.apache.log4j.util.Compare.gzCompare(Compare.java:138)
[junit] at
org.apache.log4j.rolling.helpers.CompressTestCase.test1(CompressTestCase.java:83)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] Testcase: test1Testcase: test2 took 0.001 sec
[junit] Caused an ERROR
[junit] output/compress2.txt.gz (No such file or directory)
[junit] java.io.FileNotFoundException: output/compress2.txt.gz (No such file or
directory)
[junit] at java.io.FileInputStream.open(Native Method)
[junit] at java.io.FileInputStream.<init>(FileInputStream.java:103)
[junit] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[junit] at org.apache.log4j.util.Compare.gzCompare(Compare.java:138)
[junit] at
org.apache.log4j.rolling.helpers.CompressTestCase.test2(CompressTestCase.java:89)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] Testcase: test2Testcase: test3 took 0.001 sec
BUILD FAILED
/home/rubys/jakarta/jakarta-log4j/tests/build.xml:398: Test
org.apache.log4j.rolling.helpers.CompressTestCase failed
Total time: 1 minute 53 seconds
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]