[Anthill-pro] Logging from Scripts

Arumainayagam, Govindaraja GArumai at Templeton.com
Fri Sep 21 01:10:48 CDT 2007


Can you please remove my name from your list I am not in your group 

 

 

I am getting so many mails from you, I have added a comment to get
resolution for my problem. Apart from that I am getting unwanted mails
from your org.

 

Thanks in advance

Govind

 

  _____  

From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Steve
Boone
Sent: Thursday, September 20, 2007 10:08 PM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Logging from Scripts

 

Chris,

Use the following

static transient private org.apache.log4j.Logger log =
org.apache.log4j.Logger.getLogger("MESSAGE");

Then you can do 

log.warn(myVar);


The "MESSAGE" can be changed to anything you prefer.  It will just
preface every output with that String. 

Regards,
Steve Boone

On 9/20/07, Christopher Power <chrispower36 at gmail.com> wrote:

How do I log information from scripts?  Specifically I am trying to
debug a scripted stamping template and would like to log the value of
some variables.

 

Thanks,

Chris


_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com 
http://lists.urbancode.com/mailman/listinfo/anthill-pro

 

Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070921/17083273/attachment-0001.htm


More information about the Anthill-pro mailing list