The only way I can get this to work is by modifying the rotation logger as
follows:
# 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.log4j.rootCategory = INFO, rotation
services.LoggingService.rotation.log4j.category.rotation = DEBUG, rotation
services.LoggingService.rotation.log4j.appender.rotation.file =
${webappRoot}/WEB-INF/log/jetspeed.log
services.LoggingService.rotation.log4j.appender.rotation =
org.apache.log4j.RollingFileAppender
services.LoggingService.rotation.log4j.appender.rotation.layout =
org.apache.log4j.PatternLayout
services.LoggingService.rotation.log4j.appender.rotation.layout.conversionPa
ttern = [%d{dd MMM yyyy HH:mm:ss} %5p] - %m%n
services.LoggingService.rotation.log4j.appender.rotation.append = false
services.LoggingService.rotation.log4j.appender.rotation.MaxFileSize =
1024KB
services.LoggingService.rotation.log4j.appender.rotation.MaxBackupIndex = 5
services.LoggingService.rotation.className =
org.apache.turbine.services.logging.Log4JavaLogger
services.LoggingService.rotation.level = DEBUG
Then I had to remove "logforj" entry from the
services.LoggingService.facilities. Of course, I had to change the default
logger to "rotation". Is this a hack or a legitimate fix?
Best regards,
Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>