Thanks again.
BTW: I have been using Velocity on and off now for about 6 months and it is
EXTREMELY impressive. Thanks to you and the others who have obviously been
working so hard on this tool.
Regards,
Tal
-----Original Message-----
From: Geir Magnusson Jr. [mailto:***@adeptra.com]
Sent: Saturday, May 04, 2002 6:29 PM
To: velocity-***@jakarta.apache.org
Subject: Re: Velocity Logging
Post by GolanThanks.
1) Will configuring Velocity to use
org.apache.velocity.runtime.log.NullLogSystem help performance.
Well, sort of - the logging isn't that heavy, but yes, there will be some
benefit to limiting the output. Less work for the system to do.
Post by Golan2) What needs to be done to get Velocity to use the Servlet log instead?
Take a look at the ServletLogger in the jakarta-velocity-tools project. You
need to do a little bit of work in your servlet's init() to get it to work,
but it's works very well. I am using it heavily, and it's so nice to just
use and have one place for the output.
To see how it works, look at the ViewServlet in the same place.
Post by GolanTal
-----Original Message-----
Sent: Saturday, May 04, 2002 10:57 AM
Subject: Re: How to disable Velocity logging?
Post by GolanI am using Velocity in a servlet situation and need to know how to disable
logging.
Completely? Or just not to stdout or file? It can be made to log to the
servlet log...
Post by GolanI have been trying to work with velocity.properties, but to no avail.
Pretty simple. Just configure with
org.apache.velocity.runtime.log.NullLogSystem
As the logger class, and it will happily eat all the bits...
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
+1-203-247-1713
--
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
--
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
***@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail:
<mailto:velocity-user-***@jakarta.apache.org>
For additional commands, e-mail:
<mailto:velocity-user-***@jakarta.apache.org>
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002