leif 02/02/25 23:54:46
Modified: src/java/org/apache/log Hierarchy.java
Log:
Change the default format string so that the time value is more useful.
This change was deemed to be big enough to cause the version to be upped to
1.1
Revision Changes Path
1.13 +2 -1
jakarta-avalon-logkit/src/java/org/apache/log/Hierarchy.java
Index: Hierarchy.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/Hierarchy.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Hierarchy.java 19 Nov 2001 12:18:33 -0000 1.12
+++ Hierarchy.java 26 Feb 2002 07:54:46 -0000 1.13
@@ -22,7 +22,8 @@
{
///Format of default formatter
private static final String FORMAT =
- "%7.7{priority} %5.5{time} [%8.8{category}] (%{context}):
%{message}\\n%{throwable}";
+ "%7.7{priority} %19.19{time:yyyy-MM-dd' 'HH:mm:ss.SSS}
[%8.8{category}] (%{context}): " +
+ "%{message}\n%{throwable}";
///The instance of default hierarchy
private static final Hierarchy c_hierarchy = new Hierarchy();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>