You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2006/08/02 05:35:07 UTC
svn commit: r427875 - in
/logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j:
PatternLayout.java helpers/RelativeTimeDateFormat.java
Author: carnold
Date: Tue Aug 1 20:35:07 2006
New Revision: 427875
URL: http://svn.apache.org/viewvc?rev=427875&view=rev
Log:
Bug 40145: Pattern Layout - %r doesn't do what the documentation says
Modified:
logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/PatternLayout.java
logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java
Modified: logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/PatternLayout.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/PatternLayout.java?rev=427875&r1=427874&r2=427875&view=diff
==============================================================================
--- logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/PatternLayout.java (original)
+++ logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/PatternLayout.java Tue Aug 1 20:35:07 2006
@@ -230,8 +230,8 @@
<td align=center><b>r</b></td>
- <td>Used to output the number of milliseconds elapsed since the start
- of the application until the creation of the logging event.</td>
+ <td>Used to output the number of milliseconds elapsed from the construction
+ of the layout until the creation of the logging event.</td>
</tr>
Modified: logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java?rev=427875&r1=427874&r2=427875&view=diff
==============================================================================
--- logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java (original)
+++ logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java Tue Aug 1 20:35:07 2006
@@ -23,7 +23,7 @@
/**
Formats a {@link Date} by printing the number of milliseconds
- elapsed since the start of the application. This is the fastest
+ elapsed since construction of the format. This is the fastest
printing DateFormat in the package.
@author Ceki Gülcü
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org