From: Antoine Durr <antoine@(email surpressed)>
Subject: Re: log directory
   Date: Tue, 10 Jul 2007 00:59:35 -0400
Msg# 1602
View Complete Thread (9 articles) | All Threads
Last Next
On 2007-07-09 13:15:07 -0700, Greg Ercolano <erco@(email surpressed)> said:

Kym Watts wrote:
Hey,

We had fun working this out when we moved our logs to a standard location.
As long as the base dir exists:
"//sledgehammer1/share/rush/farmlogs/$project/renders/"
And then you use the "_%s" after say the jobname, it will create the log
folder.
[..]
LogDirectory: //sledgehammer1/share/rush/farmlogs/project/renders/testrender_%s

	Yes, the newer submit scripts will handle that %s correctly,
	replacing the %s with the jobid of the job, and creating the
	resulting directory automatically, so that the /jobid/ is encoded
	into the log directory's pathname.


It would be nice if all the submit scripts had a call in them to go determine the place for Rush logs, and the setting of which were all in a single file that had entries for each type of submission. I found that in doing the above, namely moving logs to a standard location, I ended up with very similar code in multiple submit scripts. It would be (IMO) cleaner to already have done that, and in that secondary perl module, provide different ways of locating the log files. It's just that not every shop should have to recode the same thing.

-- Antoine

Floq FX Inc.
10839 Washington Blvd.
Culver City, CA 90232
310/430-2473


Last Next