henning 2002/12/19 16:00:35 Modified: conf TurbineResources.properties Log: - removed Logging Service with Logging Service Configuration - removed Resources Service Configuration - Added Log4J Configuration File reference Revision Changes Path 1.20 +4 -78 jakarta-turbine-2/conf/TurbineResources.properties Index: TurbineResources.properties =================================================================== RCS file: /home/cvs/jakarta-turbine-2/conf/TurbineResources.properties,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- TurbineResources.properties 15 Dec 2002 13:06:31 -0000 1.19 +++ TurbineResources.properties 20 Dec 2002 00:00:35 -0000 1.20 @@ -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=/logs/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=/logs/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=/logs/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=/logs/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=/logs/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=/logs/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=/logs/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
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
