On 6/27/01 12:15 AM, "Peter Lynch" <[EMAIL PROTECTED]> wrote:

> Hey there,
> 
> I am trying to turn on debugging in my velocity log by
> setting the following properties in my turbine props
> file.
> 
> I added the following:
> 
> services.VelocityService.runtime.log.invalid.references
> = true
> services.VelocityService.runtime.log.error.stacktrace
> = true
> services.VelocityService.runtime.log.warn.stacktrace =
> true
> services.VelocityService.runtime.log.info.stacktrace =
> true
> 
> 
> I don't even see where the TurbineVelocityService is
> taking care of these properties. Do I have to add it
> to the initVelocity() method?

No.

Look harder. In the initVelocity there is

Velocity.setConfiguration(getConfiguration())

All the properties stated in the TRP file are passed
on to Velocity.
 
> Is there a way to just pass a properties file to
> velocity somewhere rather than rely on settings in the
> Turbine props file? If not I guess I should add one...

Any valid velocity property is obeyed, in the TRP file
they simply have the services.VelocityService prefix. They
are set in the TRP file primarily because the template paths
are translated to the webapp space.
 
> -Peter
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to