I have found some answers.

o If the the Log4JavaLoggers is used then all facilities MUST use
  that logger. 
  Why is this?

o The rotation facility must be the first in the facilities list.
  Why is this?

I would like a description, "how implemented", and "when to use" of each
of the logging facilities contained in TR.p
 o system
 o sql
 o debug
 o rotation
 o email
 o scheduler  
 o syslog
 o remote

This information will be included in the Jetspeed documentation

Paul Spencer


Paul Spencer wrote:
> 
> I have configured Jetspeed to rotate the Jetspeed log file, but the
> backup log files are created when "rotation" is the only logging
> facility.  The default facilities list include system, debug, and
> security.
> 
> 1) Why can the facility Rotation not be use with system,debug,security?
> 
> 2) The logging facility sql is defined but not included in the
> facilities list. Why?
> 
> Working configuration that does log file rotation from Jetspeed TR.p:
> 
>   services.LoggingService.facilities=rotation
>   services.LoggingService.default=rotation
> 
>   # 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=/WEB-INF/log/jetspeed.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=DEBUG
> 
> Paul Spencer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to