Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] trace should be sendable to a file Re:

From: rebol:techscribe at: 5-Sep-2000 17:39

Hi, use echo echo %logfile.txt trace on run-script-now trace off write ftp://username:[password--my-ftp-site--com] read %logfile.txt
>> help echo
USAGE: ECHO target DESCRIPTION: Copies console output to a file. ECHO is a function value. ARGUMENTS: target -- (Type: file none) (SPECIAL ATTRIBUTES) catch At 11:55 AM 9/5/00 -0700, you wrote:
>I am developing a script for use at very remote locations. Thus, to debug
it, I need to have trace logs sent to me.
>Ideally, the script would run, dump its trace to a file and just before
termination ftp the trace log to my machine.
>However, it appears that trace output only goes to STDOUT, which means I
would have to wrap the call to my script in something redirects STDOUT to a file and then FTPs the file to me when the child script is finished.
> >Get your FREE Email and Voicemail at Lycos Communications at >http://comm.lycos.com >
;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com