User: starksm 
  Date: 01/06/19 21:18:53

  Modified:    src/etc/conf/default jboss.conf log4j.properties
  Log:
  Set the default CategoryFactory to JBossCategoryFactory
  Update the layout pattern to only use the rightmost portion of the category
  name.
  
  Revision  Changes    Path
  1.20      +0 -4      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.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- jboss.conf        2001/04/25 20:45:41     1.19
  +++ jboss.conf        2001/06/20 04:18:53     1.20
  @@ -11,10 +11,6 @@
   <MLET CODE = "org.jboss.logging.Log4jService" ARCHIVE="jboss.jar,log4j.jar" 
CODEBASE="../../lib/ext/">
   </MLET>
   
  -<!-- The log dir needs to be in the classpath to allow location of log.properties 
-->
  -<MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar" 
CODEBASE="../../lib/ext/">
  -   <ARG TYPE="java.lang.String" VALUE="../../log/">
  -</MLET>
   <!-- Place the config directory in the classpath -->
   <MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss.jar" 
CODEBASE="../../lib/ext/">
      <ARG TYPE="java.lang.String" VALUE="./">
  
  
  
  1.8       +14 -7     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
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- log4j.properties  2001/05/11 02:51:42     1.7
  +++ log4j.properties  2001/06/20 04:18:53     1.8
  @@ -1,21 +1,28 @@
  -# A log4j properties file suitable for replacing the
  -# default JBoss ConsoleLogging & FileLogging mbeans.
  +# The standard log4j properties for the default
  +# JBoss server config. This creates a server.log appender
  +# and a console appender.
   
  +# 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
   log4j.appender.Default=org.apache.log4j.FileAppender
   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] %m%n
  +# Format is [Category] msg\n
  +log4j.appender.Default.layout.ConversionPattern=[%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.
  -#log4j.category.DefaultDS=FATAL
   
   ### The console appender
   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] %m%n
  +log4j.appender.Console.layout.ConversionPattern=[%c{1}] %m%n
  +
  +# Example of increasing the priority threshold for the DefaultDS category
  +#log4j.category.DefaultDS=FATAL
  +# Example of only showing INFO msgs for any categories under org.jboss.util
  +#log4j.category.org.jboss.util=INFO
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to