John,

Thanks for letting us know what worked!  In the archives now for those
hitting a similar issue.

WILL

On Wed, May 21, 2008 at 3:33 PM, John Randall <[EMAIL PROTECTED]>
wrote:

> I looked in the Log4JLogChute class and found the
> appender.setMaximumFileSize(100000) that explains the file size.  I have
> defined the property runtime.log.logsystem.log4j.logger in
> velocity.properties with my logger and no longer use the runtime.log
> property.  Works like a charm.
>
> -john
>
>
> -----Original Message-----
> From: John Randall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 21, 2008 4:20 PM
> To: 'Velocity Users List'
> Subject: velocity logging
>
> I just updated to Velocity 1.5 and I am using the Log4JLogChute as my
> logsystem class. I am wanting to use the default configuration.  The issue I
> am having is my velocity.log file max size is around 120KB before it starts
> over.  How can I increase the file size to 25MB using velocity.properties?
>
> Snippet of my velocity.properties file:
> runtime.log.logsystem.class = org.apache.velocity.runtime.log.Log4JLogChute
> runtime.log.invalid.references = false
>
> * Changing this size doesn't seem to help within my application
> runtime.log.logsystem.log4j.file.size=2500000
>
> Thanks,
> John
>
>
> ---------------------------------------------------------------------
> 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]
>
>


-- 
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

Reply via email to