You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Golan <ap...@opticnerve.tv> on 2002/05/04 19:36:44 UTC
How to disable Velocity logging?
I am using Velocity in a servlet situation and need to know how to disable
logging.
I have been trying to work with velocity.properties, but to no avail.
Any assistance would be greatly appreciated.
Regards,
Tal Golan
---
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
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Velocity Logging
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 5/4/02 9:51 PM, "Golan" <ap...@opticnerve.tv> wrote:
> Thanks again.
My pleasure.
>
> 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.
Thanks from all of us.
> Regards,
>
> Tal
>
> -----Original Message-----
> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
> Sent: Saturday, May 04, 2002 6:29 PM
> To: velocity-user@jakarta.apache.org
> Subject: Re: Velocity Logging
>
>
> On 5/4/02 9:22 PM, "Golan" <ap...@opticnerve.tv> wrote:
>
>> Geir:
>>
>> Thanks.
>>
>> 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.
>
>> 2) 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.
>
>
>> Tal
>>
>> -----Original Message-----
>> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
>> Sent: Saturday, May 04, 2002 10:57 AM
>> To: velocity-user@jakarta.apache.org
>> Subject: Re: How to disable Velocity logging?
>>
>>
>> On 5/4/02 1:36 PM, "Golan" <ap...@opticnerve.tv> wrote:
>>
>>> I 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...
>>
>>>
>>> I 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.
>> geirm@adeptra.com
>> +1-203-247-1713
>>
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@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
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>>
>
> --
> Geir Magnusson Jr.
> Research & Development, Adeptra Inc.
> geirm@adeptra.com
> +1-203-247-1713
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@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
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Velocity Logging
Posted by Golan <ap...@opticnerve.tv>.
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:geirm@adeptra.com]
Sent: Saturday, May 04, 2002 6:29 PM
To: velocity-user@jakarta.apache.org
Subject: Re: Velocity Logging
On 5/4/02 9:22 PM, "Golan" <ap...@opticnerve.tv> wrote:
> Geir:
>
> Thanks.
>
> 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.
> 2) 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.
> Tal
>
> -----Original Message-----
> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
> Sent: Saturday, May 04, 2002 10:57 AM
> To: velocity-user@jakarta.apache.org
> Subject: Re: How to disable Velocity logging?
>
>
> On 5/4/02 1:36 PM, "Golan" <ap...@opticnerve.tv> wrote:
>
>> I 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...
>
>>
>> I 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.
> geirm@adeptra.com
> +1-203-247-1713
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@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
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@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
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Velocity Logging
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 5/4/02 9:22 PM, "Golan" <ap...@opticnerve.tv> wrote:
> Geir:
>
> Thanks.
>
> 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.
> 2) 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.
> Tal
>
> -----Original Message-----
> From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
> Sent: Saturday, May 04, 2002 10:57 AM
> To: velocity-user@jakarta.apache.org
> Subject: Re: How to disable Velocity logging?
>
>
> On 5/4/02 1:36 PM, "Golan" <ap...@opticnerve.tv> wrote:
>
>> I 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...
>
>>
>> I 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.
> geirm@adeptra.com
> +1-203-247-1713
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@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
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Velocity Logging
Posted by Golan <ap...@opticnerve.tv>.
Geir:
Thanks.
1) Will configuring Velocity to use
org.apache.velocity.runtime.log.NullLogSystem help performance.
2) What needs to be done to get Velocity to use the Servlet log instead?
Tal
-----Original Message-----
From: Geir Magnusson Jr. [mailto:geirm@adeptra.com]
Sent: Saturday, May 04, 2002 10:57 AM
To: velocity-user@jakarta.apache.org
Subject: Re: How to disable Velocity logging?
On 5/4/02 1:36 PM, "Golan" <ap...@opticnerve.tv> wrote:
> I 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...
>
> I 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.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@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
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: How to disable Velocity logging?
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 5/4/02 1:36 PM, "Golan" <ap...@opticnerve.tv> wrote:
> I 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...
>
> I 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.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>