ceki 01/06/02 02:49:44
Modified: docs HISTORY
src/java/org/apache/log4j NDC.java
src/java/org/apache/log4j/examples/appserver
AppServerCategory.java
AppServerPropConfigurator.java package.html
Log:
Corrected incorrect javadoc links in NDC and appserver package.
Revision Changes Path
1.50 +13 -0 jakarta-log4j/docs/HISTORY
Index: HISTORY
===================================================================
RCS file: /home/cvs/jakarta-log4j/docs/HISTORY,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- HISTORY 2001/05/20 15:03:06 1.49
+++ HISTORY 2001/06/02 09:49:41 1.50
@@ -5,6 +5,19 @@
client code.
[***] Changes requiring important modifications to existing client code.
+ June ??, 2001
+
+ - Release of version 1.1.2
+
+ - Corrected a problem with the static initializer of the Category
+ class which would use the wrong class loader to search for the
+ log4j.properties file. [*]
+
+ - Documentation improvements.
+
+
+ -
+
May 20, 2001
- Release of version 1.1.1.
1.8 +2 -1 jakarta-log4j/src/java/org/apache/log4j/NDC.java
Index: NDC.java
===================================================================
RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/NDC.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- NDC.java 2001/05/21 18:24:38 1.7
+++ NDC.java 2001/06/02 09:49:42 1.8
@@ -277,7 +277,8 @@
}
/**
- Looks at the {@link DiagnosticContext} at the top of this NDC without removing
it.
+ Looks at the last diagnostic context at the top of this NDC
+ without removing it.
<p>The returned value is the value that was pushed last. If no
context is available, then the empty string "" is returned.
1.7 +24 -27
jakarta-log4j/src/java/org/apache/log4j/examples/appserver/AppServerCategory.java
Index: AppServerCategory.java
===================================================================
RCS file:
/home/cvs/jakarta-log4j/src/java/org/apache/log4j/examples/appserver/AppServerCategory.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- AppServerCategory.java 2001/06/01 06:00:17 1.6
+++ AppServerCategory.java 2001/06/02 09:49:43 1.7
@@ -18,10 +18,10 @@
import org.apache.log4j.helpers.OptionConverter;
/**
- * Extends {@link org.apache.log4j.Category Category} by
- * adding four text attributes relevant to applications
- * applications run in application servers. These attributes
- * are
+ * Extends {@link org.apache.log4j.Category Category} by adding four
+ * text attributes relevant to applications applications run in
+ * application servers. These attributes are
+ *
* <p>
* <ul>
* <li><b>host</b> - the host on which the code is running
@@ -31,35 +31,32 @@
* is a part
* <li><b>version</b> - the version of this code
* </ul>
- * <p>This <code>Category</code> subclass generates
- * {@link AppServerLoggingEvent AppServerLoggingEvent}
- * subclasses of
- * {@link org.apache.log4j.spi.LoggingEvent LoggingEvent}
- * which include the additional attributes.
- * {@link AppServerPatternLayout AppServerPatternLayout}
- * provides the ability to format these attributes.
- * <p>
- * Rather than set all these attributes for each
+ *
+ * <p>This <code>Category</code> subclass generates {@link
+ * AppServerLoggingEvent AppServerLoggingEvent} subclasses of {@link
+ * org.apache.log4j.spi.LoggingEvent LoggingEvent} which include the
+ * additional attributes. {@link AppServerPatternLayout
+ * AppServerPatternLayout} provides the ability to format these
+ * attributes.
+ *
+ * <p>Rather than set all these attributes for each
* <code>AppServerCategory</code> instance, it is usually more
* convenient to set them on <code>AppServerCategoryFactory</code>
* and associate this factory statically with
* <code>AppServerCategory</code> using the static
* <code>setFactory</code> method. The
- * <code>AppServerCategory.getInstance(String)</code> method can
- * then be used to create <code>AppServerCategory</code>
- * instances.
- * <p>
- * A special {@link AppServerPropConfigurator AppServerPropConfigurator}
- * subclass of {@link org.apache.log4j.PropertyConfigurator
- * PropertyConfigurator} is provided to facilitate complete factory
- * configuration at class load time. This is useful in application
- * server environments where a variety of entry points may exist for
- * an application. Check the package level documentation for details
- * on how to set this up.
- * <p>
+ * <code>AppServerCategory.getInstance(String)</code> method can then
+ * be used to create <code>AppServerCategory</code> instances.
+
+ * <p> A special {@link AppServerPropConfigurator} subclass of {@link
+ * org.apache.log4j.PropertyConfigurator PropertyConfigurator} is
+ * provided to facilitate complete factory configuration at class
+ * load time. This is useful in application server environments
+ * where a variety of entry points may exist for an application.
+ * Check the package level documentation for details on how to set
+ * this up. <p>
*
- * @author Paul Glezen
- */
+ * @author Paul Glezen */
public class AppServerCategory extends Category {
private static String FQCN = AppServerCategory.class.getName();
1.2 +3 -3
jakarta-log4j/src/java/org/apache/log4j/examples/appserver/AppServerPropConfigurator.java
Index: AppServerPropConfigurator.java
===================================================================
RCS file:
/home/cvs/jakarta-log4j/src/java/org/apache/log4j/examples/appserver/AppServerPropConfigurator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AppServerPropConfigurator.java 2001/06/01 06:00:17 1.1
+++ AppServerPropConfigurator.java 2001/06/02 09:49:43 1.2
@@ -117,9 +117,9 @@
* defined by this class.
* <p>
* <ul>
- * <li>{@link SERVER_NAME}
- * <li>{@link COMPONENT_NAME}
- * <li>{@link VERSION_NAME}
+ * <li>{@link #SERVER_NAME}
+ * <li>{@link #COMPONENT_NAME}
+ * <li>{@link #VERSION_NAME}
* </ul>
* <p>
*
1.4 +2 -1
jakarta-log4j/src/java/org/apache/log4j/examples/appserver/package.html
Index: package.html
===================================================================
RCS file:
/home/cvs/jakarta-log4j/src/java/org/apache/log4j/examples/appserver/package.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- package.html 2001/06/01 06:00:17 1.3
+++ package.html 2001/06/02 09:49:43 1.4
@@ -42,7 +42,8 @@
should <b>not</b> be included as part of this property.
</table>
<p>
-The property names are defined in {@link AppServerPropConfigurator}.
+The property names are defined in {@link
+org.apache.log4j.examples.appserver.AppServerPropConfigurator}.
<p>
<h3>Automatic Configuration</h3>
In application servers, it is difficult to predict which code
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]