Hi,
there are a few things to consider here.
First of all, if you create a Job Definition, the value of the LOGFILE and ERRLOG is usually set to something like ${JOBID}.log.
This is nice, but might not fit your ideas of what it should be.
This default value can be changed by a GUI administrator by opening the Zope management interface.
Then click on the Custom folder and open the Properties. There you find two fields DefaultLogfile and DefaultErrLogfile.
The value of those fields is used as the default values in the Job Definition.
If you change them, all new Job Definitions will have the new values in their definition.
It is possible to use any Parameters in the definition of the LOGFILE. Those Parameters will be evaluated as usual.
The parameter resolution is pretty complex, but with a proper naming scheme it'll be easy to handle.
In any case it means that you can use Folder Parameters to determine the value of the LOGFILE.
You can also define a Parameter at Scope/Jobserver level (which would have precedence over a Folder Parameter) or make more specific exceptions at Job level.
(Idea: a single Job is more specific than a Scope, and a Scope is more specific than a Folder).
Last but not least you might want to change all existing Job Definitions and replace the definition of the LOGFILE by some new value.
That can be done using a Select Statement in the GUI Shell.
As an example, say you want to store the log files in a directory pointed to by $MYLOGPATH and you'd like to group the log files per master.
A statement like
select 'ALTER JOB DEFINITION ' as col1, id, 'WITH LOGFILE = ''$MYLOGPATH/$MASTERID_$JOBID.log'', ERRLOGFILE = ''$MYLOGPATH/$MASTER_ID_$JOBID.log''' as col3
from sci_c_scheduling_entity
where logfile = '${JOBID}.log'
and errlogfile = '${JOBID}.log'
with id folder quoted;
gives you an output that can be copied and pasted in the command window of the shell.
After executing it, all your jobs will have the new definition.
Note though that if a Job can't resolve the MYLOGPATH Parameter, it will end up in ERROR and you'll have to cancel it.
Hence, create your infrastructure before doing bulk changes.
Naturally you might want to filter the Job Definitions to alter somewhat more carefully than I did in the example above, but I'll leave that as an exercise (ask if you run into problems).
Best regards,
Ronald