From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 9:34 AM
Subject: Re: Velocity Logging


> Scott,
> All you need to do is use the singleton class "Log" like this
>      Log.Info('Somethings wrong:' + msg);
>   OR
>      Log.Debug('Totally screwed now');
> after importing the class
> with 
>   import Turbine.services.Logger.Log (cant remeber exact syntax).
> 
> pat.

Pat,

I don't have a problem with using the logging service in the
manner you suggest.  What I want to do is switch the 
velocity service logging from Avalon to log4j so that I can 
have my production site email errors to me, roll logs, etc.  
I have these things working for turbine.log and now I want 
them for velocity.log.

Cheers,

Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to