Found the following in the archive re. log rollover. It appears to be the
same problem I'm having. The log file is truncated when the size limit is
reached but no backup is created so everything is lost. My properties:

services.LoggingService.facilities=system,debug,security,rotation
services.LoggingService.default=rotation
services.LoggingService.loggingConfig=org.apache.turbine.services.logging.Pr
opertiesLoggingConfig
...
# 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.loggi
ng.Log4JavaLogger
services.LoggingService.rotation.level=DEBUG

I'm using Turbine 2.1 on Win2K. Any ideas?

Blair

>>>>>>>>>>>>>>>>>>
Hi

Just try to set
services.LoggingService.default=rotation

Should be able to get the things working...

Regards
==========
Ian Lim
email: [EMAIL PROTECTED]
homepage: http://www.webappcabaret.com/mallim

----- Original Message -----
From: "Chris Campbell" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 14, 2001 04:44 AM
Subject: Log rolling


I don't see the turbine log getting rolled. I'm using Turbine 2.1

I have in TR.props

services.LoggingService.facilities=system,debug,security,rotation
services.LoggingService.default=system
services.LoggingService.loggingConfig=org.apache.turbine.services.loggin
g.PropertiesLoggingConfig

other logging conf...

services.LoggingService.rotation.destination.file=/logs/turbine.log
services.LoggingService.rotation.file.size=2048
services.LoggingService.rotation.file.backups=5
services.LoggingService.rotation.className=org.apache.turbine.services.l
ogging.Log4JavaLogger
services.LoggingService.rotation.level=INFO

Any idea what is going on? ( i made the size small so I could observe
the roll... )

Chris C



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

Reply via email to