User: starksm
Date: 01/04/24 16:22:45
Modified: src/etc/conf/default jboss.conf log4j.properties
Log:
Make the Log4jService the default logging service
Revision Changes Path
1.18 +3 -17 jboss/src/etc/conf/default/jboss.conf
Index: jboss.conf
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/jboss.conf,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- jboss.conf 2001/04/03 03:37:30 1.17
+++ jboss.conf 2001/04/24 23:22:45 1.18
@@ -10,24 +10,10 @@
<ARG TYPE="java.lang.String" VALUE="./">
</MLET>
-<!-- Logging services. Typically you should enable the the ConsoleLogging &
- FileLogging mbeans or the Log4jService. Both can be enabled if desired
- but the Log4jService can perform the ConsoleLogging & FileLogging
- services in additional to that offered by the log4j package. -->
-<MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
- <ARG TYPE="java.lang.String" VALUE="Information,Warning,Error">
- <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
-</MLET>
-<MLET CODE = "org.jboss.logging.FileLogging" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
- <ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
- <ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
-</MLET>
-
-<!-- Uncomment to use the log4j based logging service and with the log4j.properties.
- When this service is used the ConsoleLogging & FileLogging should be disabled.
+<!-- The log4j based logging service based on the conf log4j.properties file
-->
-<-- MLET CODE = "org.jboss.logging.Log4jService" ARCHIVE="jboss.jar,log4j.jar"
CODEBASE="../../lib/ext/">
-<-- /MLET>
+<MLET CODE = "org.jboss.logging.Log4jService" ARCHIVE="jboss.jar,log4j.jar"
CODEBASE="../../lib/ext/">
+</MLET>
<MLET CODE = "org.jboss.util.Info" ARCHIVE="jboss.jar" CODEBASE="../../lib/ext/">
</MLET>
1.4 +1 -1 jboss/src/etc/conf/default/log4j.properties
Index: log4j.properties
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/log4j.properties,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- log4j.properties 2001/04/21 12:21:06 1.3
+++ log4j.properties 2001/04/24 23:22:45 1.4
@@ -19,4 +19,4 @@
log4j.appender.Console.File=System.out
log4j.appender.Console.Threshold=INFO
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
-log4j.appender.Console.layout.ConversionPattern=[%x] %m%n
+log4j.appender.Console.layout.ConversionPattern=[%c] %m%n
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development