Page 1 of 1

Log file path

Posted: Thu Aug 16, 2007 2:37 am
by shwetha.st
Hi all

I want to know the default path in which the logfile is created.
And can i see this log file.
My requirement is that i want to send a logfile attached in a mail the logfile is nothing but the details you see in the director after a job run.

Thanks in advance.
Shwetha :lol:

Posted: Thu Aug 16, 2007 7:38 am
by chulett
There is no log 'file'. The logs are hashed files in the job's Project, named with the internal job number: RT_LOG1234 for example.

Your requirement does not have a simple or short answer. How are you planning on implementing this - in BASIC as a routine of some sort or via a scripted approach? Both use the same functions, just obviously in different ways. Check the online help for the various DSGet functions such as:

DSGetLogEntry
DSGetLogSummary
DSNewestLogId

Compare that to using the equivalent options as a command line 'dsjob' option:

-log
-logsum
-lognewest

If you decide on an approach, search the forums here using appropriate keywords as either of these have been discussed here quite a number of times.

Posted: Fri Aug 31, 2007 2:34 am
by karthikgk0705
Hi,

There is an option available in director to get the log in a file. Try it out if that would help you.

Posted: Fri Aug 31, 2007 7:33 am
by chulett
Yes, as Ray is wont to point out - it's called 'Print to file'. :wink: