logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r505104 - /logging/log4j/trunk/src/java/org/apache/log4j/PatternLayout.java
Date Fri, 09 Feb 2007 00:43:25 GMT
Author: carnold
Date: Thu Feb  8 16:43:24 2007
New Revision: 505104

URL: http://svn.apache.org/viewvc?view=rev&rev=505104
Log:
Bug 41565: Document timezone qualifier for %d

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/PatternLayout.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/PatternLayout.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/PatternLayout.java?view=diff&rev=505104&r1=505103&r2=505104
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/PatternLayout.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/PatternLayout.java Thu Feb  8 16:43:24 2007
@@ -120,11 +120,13 @@
          the logging event. The date conversion specifier may be
          followed by a set of braces containing a
          date and time pattern strings {@link java.text.SimpleDateFormat},
-         <em>ABSOLUTE</em>, <em>DATE</em> or <em>ISO8601</em>.
-         For example, <b>%d{HH:mm:ss,SSS}</b>,
-         <b>%d{dd&nbsp;MMM&nbsp;yyyy&nbsp;HH:mm:ss,SSS}</b> or
-         <b>%d{DATE}</b>.  If no date format specifier is given then
-         ISO8601 format is assumed.
+         <em>ABSOLUTE</em>, <em>DATE</em> or <em>ISO8601</em>
+          and a set of braces containing a time zone id per 
+          {@link java.util.TimeZone#getTimeZone(String)}.           
+          For example, <b>%d{HH:mm:ss,SSS}</b>,
+         <b>%d{dd&nbsp;MMM&nbsp;yyyy&nbsp;HH:mm:ss,SSS}</b>,
+         <b>%d{DATE}</b> or <b>%d{HH:mm:ss}{GMT+0}</b>. If no date
format specifier is given then
+         ISO8601 format is assumed.  
      </td>
    </tr>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message