leif 02/02/26 01:54:07
Modified: src/java/org/apache/avalon/excalibur/testcase
ExcaliburTestCase.java
Log:
Format was chopping off the .SSS from the time.
Revision Changes Path
1.23 +4 -4
jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java
Index: ExcaliburTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ExcaliburTestCase.java 26 Feb 2002 07:49:57 -0000 1.22
+++ ExcaliburTestCase.java 26 Feb 2002 09:54:07 -0000 1.23
@@ -91,13 +91,13 @@
* <stream id="console">
* <stream>System.out</stream>
* <format type="avalon">
- * %7.7{priority} %19.19{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%30.30{category}] (%{context}): %{message}\n%{throwable}
+ * %7.7{priority} %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%30.30{category}] (%{context}): %{message}\n%{throwable}
* </format>
* </stream>
* <file id="log-file">
* <filename>TEST-{full test class name}.log</filename>
* <format type="avalon">
- * %7.7{priority} %19.19{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%30.30{category}] (%{context}): %{message}\n%{throwable}
+ * %7.7{priority} %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%30.30{category}] (%{context}): %{message}\n%{throwable}
* </format>
* </file>
* </targets>
@@ -219,14 +219,14 @@
* </dl>
*
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo Pati</a>
- * @version $Id: ExcaliburTestCase.java,v 1.22 2002/02/26 07:49:57 donaldp
Exp $
+ * @version $Id: ExcaliburTestCase.java,v 1.23 2002/02/26 09:54:07 leif Exp $
*/
public class ExcaliburTestCase
extends TestCase
{
///Format of default formatter
private static final String FORMAT =
- "%7.7{priority} %19.19{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%30.30{category}] (%{context}): %{message}\n%{throwable}";
+ "%7.7{priority} %23.23{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%30.30{category}] (%{context}): %{message}\n%{throwable}";
//"%7.7{priority} %5.5{time} [%20.20{category}] (%{context}):
%{message}\\n%{throwable}";
//The default logger
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>