You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by mp...@apache.org on 2002/12/20 19:03:01 UTC
cvs commit: jakarta-turbine-2/conf/master TurbineResources.master
mpoeschl 2002/12/20 10:03:01
Modified: conf/master TurbineResources.master
Log:
changes should be done in the master template!!!!!!
Revision Changes Path
1.19 +5 -79 jakarta-turbine-2/conf/master/TurbineResources.master
Index: TurbineResources.master
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/conf/master/TurbineResources.master,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- TurbineResources.master 15 Dec 2002 13:06:31 -0000 1.18
+++ TurbineResources.master 20 Dec 2002 18:03:01 -0000 1.19
@@ -10,83 +10,11 @@
# -------------------------------------------------------------------
#
-# L O G S
+# L O G 4 J - L O G G I N G
#
# -------------------------------------------------------------------
-# This is the configuration for the logging system. In most cases
-# you don't need to modify anything. However, if you wish to add more
-# facilities or modify the existing settings, then you can do so.
-#
-# destination.file: A path relative to the web app root
-# -------------------------------------------------------------------
-services.LoggingService.facilities=system,debug,security
-services.LoggingService.default=system
-services.LoggingService.loggingConfig=org.apache.turbine.services.logging.PropertiesLoggingConfig
-
-# A facility for system logging.
-services.LoggingService.system.destination.file=@TURBINE_LOG@
-services.LoggingService.system.className=org.apache.turbine.services.logging.FileLogger
-services.LoggingService.system.level=INFO
-
-# A facility for the scheduler service
-# To disable started/stopped messages set the level to ERROR
-services.LoggingService.scheduler.destination.file=@TURBINE_LOG@
-services.LoggingService.scheduler.className=org.apache.turbine.services.logging.FileLogger
-services.LoggingService.scheduler.level=INFO
-
-# A facility for debugging applications. Messages will go both
-# to the log file and the server console.
-services.LoggingService.debug.destination.file=@TURBINE_LOG@
-services.LoggingService.debug.destination.console=true
-services.LoggingService.debug.className=org.apache.turbine.services.logging.FileLogger
-services.LoggingService.debug.level=INFO
-
-# A facility for SQL query logging
-# To enable SQL query logging, set the system and sql log level to DEBUG
-services.LoggingService.sql.destination.file=@TURBINE_LOG@
-services.LoggingService.sql.className=org.apache.turbine.services.logging.FileLogger
-services.LoggingService.sql.level=ERROR
-
-# A facility for security audit. NOTE! As of 23 Jan 2001
-# Turbine does not have any standard security auditing
-# functionality. It's up to your application.
-services.LoggingService.security.destination.file=@TURBINE_LOG@
-services.LoggingService.security.className=org.apache.turbine.services.logging.FileLogger
-services.LoggingService.security.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
-services.LoggingService.rotation.destination.file=@TURBINE_LOG@
-services.LoggingService.rotation.file.size=1048576
-services.LoggingService.rotation.file.backups=5
-services.LoggingService.rotation.className=org.apache.turbine.services.logging.Log4JavaLogger
-services.LoggingService.rotation.level=INFO
-
-# An example configuration for using *NIX syslogd with Log4Java
-services.LoggingService.syslog.destination.syslogd.host=my.syslog.server.com
-services.LoggingService.syslog.destination.syslogd.facility=LOG_DAEMON
-services.LoggingService.syslog.className=org.apache.turbine.services.logging.Log4JavaLogger
-services.LoggingService.syslog.level=INFO
-
-# An example configuration for using remote Log4Java server
-services.LoggingService.remote.destination.remote.host=my.remote.server.com
-services.LoggingService.remote.destination.remote.port=1099
-services.LoggingService.remote.className=org.apache.turbine.services.logging.Log4JavaLogger
-services.LoggingService.remote.level=INFO
-
-# An example configuration for sending error reports as email with Log4Java
-# notes:
-# * uses 'mail.server' as SMTP server to send mail through
-# * log4j will send the email when an ERROR is logged, with
-# 'buffer.size' previous (non-ERROR) logs included in the email
-# * configured to log to a file as well otherwise stacktraces are lost
-services.LoggingService.email.destination.file=@TURBINE_LOG@
-services.LoggingService.email.destination.email.from=root@localhost
-services.LoggingService.email.destination.email.to=root@localhost
-services.LoggingService.email.destination.email.subject=Turbine Error Report
-services.LoggingService.email.destination.email.buffer.size=512
-services.LoggingService.email.className=org.apache.turbine.services.logging.Log4JavaLogger
-services.LoggingService.email.level=INFO
+
+log4j.file = /WEB-INF/conf/Log4j.properties
# -------------------------------------------------------------------
#
@@ -353,8 +281,6 @@
# will be initialized. Keep this is mind if you have services
# that depend on other services during initialization.
# -------------------------------------------------------------------
-services.ResourceService.classname=org.apache.turbine.services.resources.TurbineResourceService
-services.LoggingService.classname=org.apache.turbine.services.logging.TurbineLoggingService
services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
services.FactoryService.classname=org.apache.turbine.services.factory.TurbineFactoryService
services.PoolService.classname=org.apache.turbine.services.pool.TurbinePoolService
@@ -539,7 +465,7 @@
services.VelocityService.template.extension=vm
services.VelocityService.default.page = VelocityPage
services.VelocityService.default.screen=VelocityScreen
-services.VelocityService.default.layout = VelocityECSLayout
+services.VelocityService.default.layout = VelocityOnlyLayout
services.VelocityService.default.navigation=VelocityNavigation
services.VelocityService.default.error.screen = VelocityErrorScreen
services.VelocityService.default.layout.template = Default.vm
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>