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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]