portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/test Log4j.properties jetspeed.properties
Date Wed, 04 Feb 2004 21:52:07 GMT
weaver      2004/02/04 13:52:07

  Modified:    portal/src/webapp/WEB-INF/conf/test jetspeed.properties
  Added:       portal/src/webapp/WEB-INF/conf/test Log4j.properties
  Log:
  - added JNDIService and HSQLService configurations
  - added test system Log4j conf
  
  Revision  Changes    Path
  1.10      +53 -6     jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/test/jetspeed.properties
  
  Index: jetspeed.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/test/jetspeed.properties,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jetspeed.properties	8 Dec 2003 21:41:50 -0000	1.9
  +++ jetspeed.properties	4 Feb 2004 21:52:06 -0000	1.10
  @@ -5,23 +5,70 @@
   #
   # $Id$
   #
  +
  +# we need internal JNDI for testing
  +portal.use.internal.jndi=true
  +
  +# -------------------------------------------------------------------
  +#  L O G 4 J - L O G G I N G
  +# -------------------------------------------------------------------
  +log4j.file = /WEB-INF/conf/test/Log4j.properties
  +
  +# --------------------------------------------------------------------------
  +# JNDI Support Service (Only needed if the current container does not support JNDI)
  +#---------------------------------------------------------------------------
  +services.JNDIService.classname=org.apache.jetspeed.cps.jndi.TyrexJNDIService
  +services.JNDIService.earlyInit = true
  +
  +
  +# --------------------------------------------------------------------------
  +# HSQL Server (Only needed if you are using HSQL)
  +#---------------------------------------------------------------------------
  +services.HSQLDBServer.classname=org.apache.jetspeed.cps.hsql.HSQLDBServer
  +services.HSQLDBServer.port=9001
  +services.HSQLDBServer.user=sa
  +services.HSQLDBServer.password=
  +# Quiet logging from HSQL
  +services.HSQLDBServer.silent=true
  +# turn DB trace in HSQL
  +services.HSQLDBServer.trace=false
  +services.HSQLDBServer.db.path=../../test/db/hsql/Registry
  +services.HSQLDBServer.earlyInit = true
  +# use the below lines to setup HSQL within a JNDI pooled Datasource
  +services.HSQLDBServer.use.jndi.datasource=true
  +services.HSQLDBServer.jndi.datasource.name=jdbc/jetspeed
  +services.HSQLDBServer.jndi.datasource.maxActive=25
  +# When the pool is exhausted do 1 of the following
  +# "grow"  increases the pool size by 1
  +# "fail"   a "noSuchElementException" is thrown
  +# "block"  waits for a datasource to become available
  +services.HSQLDBServer.jndi.datasource.when.exhausted=grow
  +# The amount of time block while waiting for a released
  +# object.  Only used if "block" is specified
  +# services.HSQLDBServer.jndi.datasource.max.block.wait=5000
  +
  +
  +
  +
   # -------------------------------------------------------------------
   #  P E R S I S T E N C E 
   # -------------------------------------------------------------------
  -services.PersistenceService.persistence.plugin.name=jetspeed-test
  +# Currently unneeded 
  +# services.PersistenceService.persistence.plugin.name=jetspeed-test
   
   # -------------------------------------------------------------------
   #  R E G I S T R Y  
   # -------------------------------------------------------------------
   #services.PortletRegistry.config.file=/WEB-INF/conf/test/registry-hsql-database.xml
   # Use the persistence plugin that points to the test system
  -services.PortletRegistry.persistence.plugin.name=jetspeed-test
  +# Currently unneeded 
  +# services.PortletRegistry.persistence.plugin.name=jetspeed-test
   
   # -------------------------------------------------------------------
   #  C A P A B I L I T Y 
   # -------------------------------------------------------------------
   # Use the persistence plugin that points to the test system
  -services.capability.persistence.plugin.name=jetspeed-test
  +# services.capability.persistence.plugin.name=jetspeed-test
   
   # -------------------------------------------------------------------
   #  P S M L 
  @@ -57,10 +104,10 @@
   # -------------------------------------------------------------------
   # Profiler
   # -------------------------------------------------------------------
  -services.profiler.persistence.plugin.name=jetspeed-test
  +# services.profiler.persistence.plugin.name=jetspeed-test
   
   #--------------------------------------------------------------------
   # P R E F E R E N C E S  P R O P E R T Y  S E R V I C E
   #--------------------------------------------------------------------
  -services.PropertyManager.persistence.plugin.name=jetspeed-test
  +# services.PropertyManager.persistence.plugin.name=jetspeed-test
   
  
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/test/Log4j.properties
  
  Index: Log4j.properties
  ===================================================================
  # ------------------------------------------------------------------------
  #
  # Logging Configuration
  #
  # $Id: Log4j.properties,v 1.1 2004/02/04 21:52:06 weaver Exp $
  #
  # ------------------------------------------------------------------------
  
  #
  # If we don't know the logging facility, put it into the jetspeed.log
  # 
  #
  log4j.rootLogger = INFO, jetspeed
  
  #
  # Jetspeed goes into Jetspeed Log
  #
  log4j.category.org.apache.jetspeed = DEBUG, jetspeed
  log4j.additivity.org.apache.jetspeed = false
  
  #
  # Velocity Logfile
  #
  log4j.category.velocity = INFO, velocity
  log4j.additivity.velocity = false
  
  #
  # OJB Logfile
  #
  log4j.category.org.apache.ojb= INFO, ojb
  log4j.additivity.org.apache.ojb= false
  
  #
  # Scheduler Category
  #
  log4j.category.scheduler = INFO, scheduler
  log4j.additivity.scheduler = false
  
  #
  # Pluto Category
  #
  log4j.category.org.apache.pluto = DEBUG, PLUTO, console
  log4j.additivity.org.apache.pluto = false
  
  #
  # Betwixt Category
  #
  log4j.category.org.apache.commons.betwixt= INFO, BETWIXT
  log4j.additivity.org.apache.commons.betwixt = false
  
  #
  # Pluto Category
  #
  log4j.category.deployment = INFO, DEPLOYMENT, console
  log4j.additivity.deployment = false
  
  
  #
  # Console Category
  #
  log4j.category.console = WARN, console
  log4j.additivity.console = false
  
  ########################################################################
  #
  # Logfile definitions
  #
  ########################################################################
  
  #
  # jetspeed.log
  #
  log4j.appender.jetspeed = org.apache.log4j.FileAppender
  log4j.appender.jetspeed.file = ${applicationRoot}/logs/jetspeed.log
  log4j.appender.jetspeed.layout = org.apache.log4j.PatternLayout
  log4j.appender.jetspeed.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.jetspeed.append = false
  
  #
  # pluto.log
  #
  log4j.appender.PLUTO = org.apache.log4j.FileAppender
  log4j.appender.PLUTO.file = ${applicationRoot}/logs/pluto.log
  log4j.appender.PLUTO.layout = org.apache.log4j.PatternLayout
  log4j.appender.PLUTO.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.PLUTO.append = false
  
  #
  # deployment.log
  #
  log4j.appender.DEPLOYMENT = org.apache.log4j.FileAppender
  log4j.appender.DEPLOYMENT.file = ${applicationRoot}/logs/deployment.log
  log4j.appender.DEPLOYMENT.layout = org.apache.log4j.PatternLayout
  log4j.appender.DEPLOYMENT.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.DEPLOYMENT.append = false
  
  #
  # betwixt.log
  #
  log4j.appender.BETWIXT = org.apache.log4j.FileAppender
  log4j.appender.BETWIXT.file = ${applicationRoot}/logs/betwixt.log
  log4j.appender.BETWIXT.layout = org.apache.log4j.PatternLayout
  log4j.appender.BETWIXT.layout.conversionPattern = %m%n
  log4j.appender.BETWIXT.append = false
  
  #
  # Scheduler Output
  #
  log4j.appender.scheduler = org.apache.log4j.FileAppender
  log4j.appender.scheduler.file = ${applicationRoot}/logs/scheduler.log
  log4j.appender.scheduler.layout = org.apache.log4j.PatternLayout
  log4j.appender.scheduler.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.scheduler.append = false
  
  #
  # Velocity gets configured to write its output onto the velocity
  # category.
  #
  log4j.appender.velocity = org.apache.log4j.FileAppender
  log4j.appender.velocity.file = ${applicationRoot}/logs/velocity.log
  log4j.appender.velocity.layout = org.apache.log4j.PatternLayout
  log4j.appender.velocity.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.velocity.append = false
  
  
  log4j.appender.ojb = org.apache.log4j.FileAppender
  log4j.appender.ojb.file = ${applicationRoot}/logs/ojb.log
  log4j.appender.ojb.layout = org.apache.log4j.PatternLayout
  log4j.appender.ojb.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.ojb.append = false
  
  #
  # Console
  #
  log4j.appender.console=org.apache.log4j.ConsoleAppender
  log4j.appender.console.layout=org.apache.log4j.PatternLayout
  
  # Pattern to output the caller's file name and line number.
  log4j.appender.console.layout.ConversionPattern=%5p: %m%n
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message