portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf TurbineResources.properties
Date Tue, 27 Aug 2002 19:24:34 GMT
morciuch    2002/08/27 12:24:34

  Modified:    webapp/WEB-INF/conf TurbineResources.properties
  Log:
  Added log4j logger definition for PortletStatsService (see Bugzilla issue 11737)
  
  Revision  Changes    Path
  1.59      +13 -3     jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties
  
  Index: TurbineResources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- TurbineResources.properties	20 Aug 2002 17:38:54 -0000	1.58
  +++ TurbineResources.properties	27 Aug 2002 19:24:34 -0000	1.59
  @@ -19,7 +19,7 @@
   #
   # destination.file: A path relative to the web app root
   # -------------------------------------------------------------------
  -services.LoggingService.facilities=system,debug,security,rotation,logforj
  +services.LoggingService.facilities=system,debug,security,rotation,logforj,access
   services.LoggingService.default=logforj
   services.LoggingService.loggingConfig=org.apache.turbine.services.logging.PropertiesLoggingConfig
   
  @@ -57,7 +57,7 @@
   # An example configuration for using Log4Java, with log4j properties inline
   # The category name - at the end of this line - needs to match the logging facility name
- the first log4j.
   # need this rootCategory entry to capture the torque/fulcrum etc logging
  -services.LoggingService.logforj.log4j.rootCategory = INFO, logforj
  +services.LoggingService.logforj.log4j.rootCategory = INFO, logforj, access
   
   # need this category entry for the actual jetspeed logging (I don't know why it doesn't
get covered by the root category!)
   services.LoggingService.logforj.log4j.category.logforj = DEBUG, logforj
  @@ -69,6 +69,16 @@
   services.LoggingService.logforj.log4j.appender.logforj.append = false
   services.LoggingService.logforj.className=org.apache.turbine.services.logging.Log4JavaLogger
   services.LoggingService.logforj.level=DEBUG
  +
  +# An example configuration for portlet access audit logging
  +services.LoggingService.access.log4j.category.access = INFO, access
  +services.LoggingService.access.log4j.appender.access = org.apache.log4j.FileAppender
  +services.LoggingService.access.log4j.appender.access.layout = org.apache.log4j.PatternLayout
  +services.LoggingService.access.log4j.appender.access.layout.ConversionPattern = %m%n
  +services.LoggingService.access.log4j.appender.access.append = true
  +services.LoggingService.access.log4j.appender.access.file = ${webappRoot}/WEB-INF/log/access.log
  +services.LoggingService.access.className = org.apache.turbine.services.logging.Log4JavaLogger
  +services.LoggingService.access.level = INFO
   
   # An example configuration for automatic log rotation using Log4Java
   # This will keep the log file size under 1MB and save up to 5 backup copies
  
  
  

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


Mime
View raw message