Author: kkolinko
Date: Fri Apr  1 22:24:26 2011
New Revision: 1087920

URL: http://svn.apache.org/viewvc?rev=1087920&view=rev
Log:
JavaDoc: Document configuration properties of o.a.juli.FileHandler.
These are the same as in TC6, except the "bufferSize" property which is not 
implemented.

Modified:
    
tomcat/tc5.5.x/trunk/connectors/juli/src/java/org/apache/juli/FileHandler.java

Modified: 
tomcat/tc5.5.x/trunk/connectors/juli/src/java/org/apache/juli/FileHandler.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/connectors/juli/src/java/org/apache/juli/FileHandler.java?rev=1087920&r1=1087919&r2=1087920&view=diff
==============================================================================
--- 
tomcat/tc5.5.x/trunk/connectors/juli/src/java/org/apache/juli/FileHandler.java 
(original)
+++ 
tomcat/tc5.5.x/trunk/connectors/juli/src/java/org/apache/juli/FileHandler.java 
Fri Apr  1 22:24:26 2011
@@ -37,8 +37,32 @@ import java.util.logging.SimpleFormatter
 
 /**
  * Implementation of <b>Handler</b> that appends log messages to a file
- * named {prefix}.{date}.{suffix} in a configured directory, with an
- * optional preceding timestamp.
+ * named {prefix}{date}{suffix} in a configured directory.
+ *
+ * <p>The following configuration properties are available:</p>
+ *
+ * <ul>
+ *   <li><code>directory</code> - The directory where to create the log file.
+ *    If the path is not absolute, it is relative to the current working
+ *    directory of the application. The Apache Tomcat configuration files 
usually
+ *    specify an absolute path for this property,
+ *    <code>${catalina.base}/logs</code> 
+ *    Default value: <code>logs</code></li>
+ *   <li><code>prefix</code> - The leading part of the log file name.
+ *    Default value: <code>juli.</code></li>
+ *   <li><code>suffix</code> - The trailing part of the log file name.
+ *    Default value: <code>.log</code></li>
+ *   <li><code>encoding</code> - Character set used by the log file. Default 
value:
+ *    empty string, which means to use the system default character set.</li>
+ *   <li><code>level</code> - The level threshold for this Handler. See the
+ *    <code>java.util.logging.Level</code> class for the possible levels.
+ *    Default value: <code>ALL</code></li>
+ *   <li><code>filter</code> - The <code>java.util.logging.Filter</code>
+ *    implementation class name for this Handler. Default value: unset</li>
+ *   <li><code>formatter</code> - The <code>java.util.logging.Formatter</code>
+ *    implementation class name for this Handler. Default value:
+ *    <code>java.util.logging.SimpleFormatter</code></li>
+ * </ul>
  *
  * @version $Id$
  */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to