You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Frans Thamura <ft...@yahoo.com> on 2001/11/28 17:19:32 UTC

Logging Rotation like tomcat 4

Dear All

do you know the parameter so the jetspeed.log will be like tomcat4.log..

tomcat have a better rotation..

the log will be based on date.

catalina_log.2001-11-26.txt etc..






Re: Logging Rotation like tomcat 4

Posted by Paul Spencer <pa...@apache.org>.
Frans,

1) Check the log4j documentation on other ways to change the log file,
other then size.

2) Did you set the following:
services.LoggingService.facilities=rotation,system,debug
services.LoggingService.default=rotation
services.LoggingService.loggingConfig=org.apache.turbine.services.logging.PropertiesLoggingConfig

Paul Spencer

Frans Thamura wrote:

 > Paul,
 >
 > It is not working in my Tomcat, is there something error with my
 > configuration...
 >
 > Where is the parameter to set it become daily basis log.
 >
 > this is the setting
 > 
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.loggi
 > ng.Log4JavaLogger
 > services.LoggingService.rotation.level=DEBUG
 >
 > I think that is default parameter.
 >
 > Frans




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Logging Rotation like tomcat 4

Posted by Frans Thamura <ft...@yahoo.com>.
Paul,

It is not working in my Tomcat, is there something error with my
configuration...

Where is the parameter to set it become daily basis log.

this is the setting
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.loggi
ng.Log4JavaLogger
services.LoggingService.rotation.level=DEBUG

I think that is default parameter.

Frans
----- Original Message -----
From: "Paul Spencer" <pa...@apache.org>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Friday, November 30, 2001 10:54 AM
Subject: Re: Logging Rotation like tomcat 4


> Frans,
> Jetspeed does support, via turbine, log file rotation. See
> http://jakarta.apache.org/jetspeed/site/config_guide.html#Set Jetspeed
> logging
>
> Paul Spencer
>
> Frans Thamura wrote:
>
> > Dear All
> >
> > do you know the parameter so the jetspeed.log will be like tomcat4.log..
> >
> > tomcat have a better rotation..
> >
> > the log will be based on date.
> >
> > catalina_log.2001-11-26.txt etc..
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Logging Rotation like tomcat 4

Posted by Jason van Zyl <jv...@zenplex.com>.
On 11/30/01 10:54 AM, "Paul Spencer" <pa...@apache.org> wrote:

> Frans,
> Jetspeed does support, via turbine, log file rotation. See
> http://jakarta.apache.org/jetspeed/site/config_guide.html#Set Jetspeed
> logging

No, the logging service in Turbine 2.x isn't that flexible. But in Turbine
3.0 log4j is being used and it will be much more flexible. I might try to
add log4j logging to Turbine 2.x and a subsystem in the same way I'm trying
to add Torque and Fulcrum as pluggable subsystems so that it can be used
now. Log4j makes logging so much nicer.
 
> Paul Spencer
> 
> Frans Thamura wrote:
> 
>> Dear All
>> 
>> do you know the parameter so the jetspeed.log will be like tomcat4.log..
>> 
>> tomcat have a better rotation..
>> 
>> the log will be based on date.
>> 
>> catalina_log.2001-11-26.txt etc..
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Logging Rotation like tomcat 4

Posted by Paul Spencer <pa...@apache.org>.
Frans,
Jetspeed does support, via turbine, log file rotation. See 
http://jakarta.apache.org/jetspeed/site/config_guide.html#Set Jetspeed 
logging

Paul Spencer

Frans Thamura wrote:

> Dear All
> 
> do you know the parameter so the jetspeed.log will be like tomcat4.log..
> 
> tomcat have a better rotation..
> 
> the log will be based on date.
> 
> catalina_log.2001-11-26.txt etc..
> 
> 
> 
> 
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>