more info than my prematurely sent last email...

On 10/5/05, Robert Koberg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using the latest velocity from SVN and log4j-1.2.12 in tomcat
> 5.5.9. I am getting the following warning in my log file:
>
> 2005-10-05 10:08:09,553 INFO  [localhost].[/] -  Velocity   [warn]
> LogSystem has been deprecated. Please use a LogChute implementation.
> 2005-10-05 10:08:09,553 INFO  [localhost].[/] -  Velocity   [warn]
> LogSystem has been deprecated. Please use a LogChute implementation.
>
> How do I use a LogChute implementation?

see below...

> My velocity.properties specifies no logging information (I never have).
> Should I be? If LogSystem is deprecated, should the default be LogChute?

yep.  but if you're using VelocityTools, it has not yet been updated
to support LogChutes and will pass a LogSystem implementation to
Velocity.

> I tried setting the following in my velocity.properties to no avail:
>
> runtime.log.logsystem = org.apache.velocity.runtime.log.Log4JLogChute

the runtime.log.logsystem property is for specifying an actual
*instance* of a LogChute (or LogSystem, though that's deprecated).  to
specify a class name, you should use the runtime.log.logsystem.class
property.  but note that Velocity will first check the
runtime.log.logsystem property for a LogChute/LogSystem before moving
on to the class property.

so, if you are using VelocityTools, you'll just have to put up with
the deprecation warning until i add support for LogChute.  sorry 'bout
that, but really it won't hurt anything. :)

> best,
> -Rob
>
> ---------------------------------------------------------------------
> 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]

Reply via email to