You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Gagan 007 <ga...@yahoo.com> on 2005/03/28 19:23:17 UTC

Disabling Logging in Velocity

Thanx, This group has helped me a lot
 
When ever I run my application which uses Velocity, a file named as Velocity.log gets created.  
I dont want this to happen, I mean I DONT need logging. is there any way to disable the logging in Velocity?
 
Its urgent , thanx in anticipation

		
---------------------------------
Do you Yahoo!?
 Make Yahoo! your home page   

Re: Disabling Logging in Velocity

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Gagan,

> Thanx, This group has helped me a lot

Good to know we're of help.  :)

> When ever I run my application which uses Velocity, a file named as Velocity.log gets created.
> I dont want this to happen, I mean I DONT need logging. is there any way to disable the logging in Velocity?

You can use the NullLogSystem.
    http://jakarta.apache.org/velocity/api/org/apache/velocity/runtime/log/NullLogSystem.html
    http://jakarta.apache.org/velocity/developer-guide.html#Configuring%20the%20Log%20System

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org