From: kkolinko Configuration properties are inherited from the {@link FileHandler}
+ * class. This class does not add its own configuration properties for the
+ * logging configuration, but relies on the following system properties
+ * instead: See the System Properties page in the configuration reference of Tomcat. The following configuration properties are available:
+ *
+ *
+ * org.apache.juli.AsyncOverflowDropType
+ * Default value: 1org.apache.juli.AsyncMaxRecordCount
+ * Default value: 10000org.apache.juli.AsyncLoggerPollInterval
+ * Default value: 1000
+ *
*
* @version $Id$
*/
diff --git a/webapps/docs/logging.xml b/webapps/docs/logging.xml
index 75626efe3..67625806a 100644
--- a/webapps/docs/logging.xml
+++ b/webapps/docs/logging.xml
@@ -113,9 +113,7 @@
directory - 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,
+ * ${catalina.base}/logs
+ * Default value: logsrotatable - If true, the log file will be
+ * rotated on the first write past midnight and the filename will be
+ * {prefix}{date}{suffix}, where date is yyyy-MM-dd. If false,
+ * the file will not be rotated and the filename will be {prefix}{suffix}.
+ * Default value: trueprefix - The leading part of the log file name.
+ * Default value: juli.suffix - The trailing part of the log file name. Default value: .logbufferSize - Configures buffering. The value of 0
+ * uses system default buffering (typically an 8K buffer will be used). A
+ * value of <0 forces a writer flush upon each log write. A
+ * value >0 uses a BufferedOutputStream with the defined
+ * value but note that the system default buffering will also be
+ * applied. Default value: -1encoding - Character set used by the log file. Default value:
+ * empty string, which means to use the system default character set.level - The level threshold for this Handler. See the
+ * java.util.logging.Level class for the possible levels.
+ * Default value: ALLfilter - The java.util.logging.Filter
+ * implementation class name for this Handler. Default value: unsetformatter - The java.util.logging.Formatter
+ * implementation class name for this Handler. Default value:
+ * java.util.logging.SimpleFormatter
- More details about Tomcat JULI may be found below and in Tomcat Javadoc
- for the org.apache.juli
- package.
+ More details about Tomcat JULI may be found below.
See the following resources for additional information:
+org.apache.juli
+ package.
+ java.util.logging
+ package.
+ output/extras/tomcat-juli.jar.
output/extras/tomcat-juli-adapters.jar in
- $CATALINA_HOME/lib.tomcat-juli.jar and
+ tomcat-juli-adapters.jar go into different
+ directories. While the first one goes into bin, this
+ one goes into lib.
$CATALINA_BASE/conf/logging.properties to
prevent java.util.logging generating zero length log files.