User: starksm
Date: 01/04/02 20:43:44
Modified: src/main/org/jboss/logging Log4jService.java
Log:
Update the class comment to describe the service.
Revision Changes Path
1.2 +9 -2 jboss/src/main/org/jboss/logging/Log4jService.java
Index: Log4jService.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/logging/Log4jService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Log4jService.java 2001/04/03 03:39:21 1.1
+++ Log4jService.java 2001/04/03 03:43:44 1.2
@@ -22,11 +22,18 @@
import org.apache.log4j.NDC;
import org.apache.log4j.PropertyConfigurator;
-/** This is a JMX MBean that provides two features.
+/** This is a JMX MBean that provides two features:
+1., It initalizes the log4j framework from the log4j properties format file
+ specified by the ConfigurationPath attribute to that the log4j may be
+ used by JBoss components.
+2., It collects JMX notification events fired by the "service=Log" mbean
+ and logs the msgs to the log4j root Category. This allows the Log4jService
+ to replace all other JBoss logging services like ConsoleLogging and
+ FileLogging.
@author <a href="mailto:[EMAIL PROTECTED]">Fulco Muriglio</a>
@author [EMAIL PROTECTED]
-@version $Revision: 1.1 $
+@version $Revision: 1.2 $
*/
public class Log4jService implements Log4jServiceMBean, NotificationListener,
MBeanRegistration
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development