[Anthill-pro] Newbie Question - Logging and Scripts
Steve Boone
sbb at urbancode.com
Wed Oct 3 09:41:33 CDT 2007
John,
You can use system out, that is not a problem. The output will be displayed
on the console. The information can be found in the ah3-server.out file.
(server/var/log )
You could also use Log4j, by adding
static transient private org.apache.log4j.Logger log =
org.apache.log4j.Logger.getLogger("ALERT");
and then adding
log.warn() methods where you wish to do the debugging.
Let me know if this helps.
Regards,
Steve Boone
On 10/3/07, john.carnell at thrivent.com <john.carnell at thrivent.com> wrote:
>
>
> Hi guys,
>
> We are currently evaluating the AntHillPro product and trying out the
> scripting capabilities. I am trying write a simple java-based script and
> want to dump
> a sample string to the sys out or application logs.
>
> 1. Can I do this with a simple system out? (I know this is not
> recommended practice, but we are just trying to do some simple bugs).
> 2. Where on the server are the log files are written out to?
>
> Cheers,
> John
>
>
> John C Carnell
> IT Architect
> Information Technology - Fraternal Member Systems
>
>
>
> This message contains confidential information intended only for the above
> addressees and may contain information that is proprietary or legally
> privileged. If you received this message in error, please notify us and
> delete the original message. You must obtain permission from Thrivent
> Financial to use its logo on all materials. Failure to do so could result in
> legal action.
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20071003/bdd19d60/attachment.htm
More information about the Anthill-pro
mailing list