User: starksm
Date: 01/11/20 01:42:45
Modified: src/etc/conf/default Tag: Branch_2_4 jboss.conf
log4j.properties
Log:
Change to the unified log4j based org.jboss.logging.Logger class.
Revision Changes Path
No revision
No revision
1.19.4.2 +0 -3 jboss/src/etc/conf/default/Attic/jboss.conf
Index: jboss.conf
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/Attic/jboss.conf,v
retrieving revision 1.19.4.1
retrieving revision 1.19.4.2
diff -u -r1.19.4.1 -r1.19.4.2
--- jboss.conf 2001/09/27 01:20:19 1.19.4.1
+++ jboss.conf 2001/11/20 09:42:45 1.19.4.2
@@ -4,9 +4,6 @@
<!-- -->
<!-- ===================================================================== -->
-<MLET CODE = "org.jboss.logging.Logger" ARCHIVE="jboss.jar"
CODEBASE="../../lib/ext/">
-</MLET>
-
<!-- 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>
1.7.4.3 +3 -6 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.7.4.2
retrieving revision 1.7.4.3
diff -u -r1.7.4.2 -r1.7.4.3
--- log4j.properties 2001/08/20 22:26:54 1.7.4.2
+++ log4j.properties 2001/11/20 09:42:45 1.7.4.3
@@ -1,9 +1,6 @@
# A log4j properties file suitable for replacing the
# default JBoss ConsoleLogging & FileLogging mbeans.
-# Set the JBossCategoryFactory as the default CategoryFactory
-log4j.categoryFactory=org.jboss.logging.log4j.JBossCategory$JBossCategoryFactory
-
log4j.rootCategory=DEBUG, Default, Console
### The server.log file appender
@@ -11,7 +8,7 @@
log4j.appender.Default.File=../log/server.log
log4j.appender.Default.layout=org.apache.log4j.PatternLayout
# Use the default JBoss format
-log4j.appender.Default.layout.ConversionPattern=[%c{1}] %m%n
+log4j.appender.Default.layout.ConversionPattern=[%d{ABSOLUTE},%c{1}] %m%n
# Truncate if it aleady exists.
log4j.appender.Default.Append=false
#Example of turning off logging for a category. Uncomment to turn off.
@@ -21,7 +18,7 @@
log4j.appender.Console=org.jboss.logging.log4j.ConsoleAppender
log4j.appender.Console.Threshold=INFO
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
-log4j.appender.Console.layout.ConversionPattern=[%c{1}] %m%n
+log4j.appender.Console.layout.ConversionPattern=[%p,%c{1}] %m%n
# Example of only showing INFO msgs for any categories under org.jboss.util
#log4j.category.org.jboss.util=INFO
@@ -30,4 +27,4 @@
# by the JBoss internals to diagnose low level details. This example
# turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
# subpackages. This will produce A LOT of logging output.
-#log4j.category.org.jboss.ejb.plugins=TRACE#org.jboss.logging.log4j.TracePriority
+#log4j.category.org.jboss.ejb.plugins=TRACE#org.jboss.logging.TracePriority
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development