Antoine Durr wrote:
> 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.
At one point I had a $G::logdir variable in the .common.pl
file that one could set where all jobs would dump their logs.
So if that variable was set, it would use that directory
instead of the subdirectory where the scene files are located..
using jobids encoded into the log directory filenames.
Thing is, I had to back it out, because there were some technical
issues that caused problems; can't remember what they were at
the moment.. I think it had to do with how some of the scripts
save setting files into the log directory before the job is submitted,
preventing the jobid trick from working. My solution was going to
be to submit the job in the paused state, so that the jobid encoded
filename could then be used to save the info file, then the job
unpaused. But then there were sticky situations about unpausing
a job that might have been submitted in the 'pause' or 'wait' state,
and it started getting too complicated.. so I backed it out.
> 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.
I have to be careful that whatever I implement doesn't have ill
effects on the other features of the system.
I'll have to revisit it, as I think I've made some changes in the
core that might make the above $G::logdir stuff possible.
--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)
|