ceki 2004/11/23 12:42:36
Modified: src/java/org/apache/log4j/rolling
TimeBasedRollingPolicy.java
Log:
- Better javadocs
Revision Changes Path
1.12 +3 -10
logging-log4j/src/java/org/apache/log4j/rolling/TimeBasedRollingPolicy.java
Index: TimeBasedRollingPolicy.java
===================================================================
RCS file:
/home/cvs/logging-log4j/src/java/org/apache/log4j/rolling/TimeBasedRollingPolicy.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- TimeBasedRollingPolicy.java 23 Nov 2004 20:38:34 -0000 1.11
+++ TimeBasedRollingPolicy.java 23 Nov 2004 20:42:36 -0000 1.12
@@ -41,14 +41,14 @@
* The following examples should clarify the point.
*
* <p>
- * <table cellspacing="20px" border="1">
+ * <table cellspacing="5px" border="1">
* <tr>
* <th><code>FileNamePattern</code> value</th>
* <th>Rollover schedule</th>
* <th>Example</th>
* </tr>
* <tr>
- * <td><code>/some/folder/foo.log.%d</code></td>
+ * <td nowrap="true"><code>/some/folder/foo.log.%d</code></td>
* <td>Daily rollover (at midnight).The %d token converter without the
optional time and date pattern
* implies daily rollover.
* </td>
@@ -60,7 +60,7 @@
* </td>
* </tr>
* <tr>
- * <td><code>/some/folder/foo.%d{yyyy-MM}.log</code></td>
+ * <td nowrap="true"><code>/some/folder/foo.%d{yyyy-MM}.log</code></td>
* <td>Rollover at the beginning of each month.</td>
* <td>During the month of October 2004, logging output will go to
* <code>/some/folder/foo.2004-10.log</code>. After midnight of October
31st
@@ -68,13 +68,6 @@
* <code>/some/folder/foo.2004-11.log</code> untill the beginning of
* the next month.
* </td>
- * </tr>
-
- *
- * copied to
- * /foo/bar.log.2002-03-08. Logging for the 9th day of March will be
output to /foo/bar.log until it is rolled over the next day.
- *
- * Daily rollover</td>
* </tr>
* </table>
* <p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]