The developer documentation shows an example where a logger is registered,
just
before initializing Velocity, using the method

Velocity.setProperty(Velocity.RUNTIME_LOG_LOGSYSTEM, LogSystem );

I had hard time to perform such registration.
The only way that worked for me was to set a property named
"runtime.log.logsystem.class"
with the class name of my logger. The problem is that this way I cannot pass
parameters to
the logger's constructor.

Am I missing something ?

Thanks,

Tal

Reply via email to