A job log is a file that contains a detailed record of the execution details of a job. System messages from the grid container and output from the job executables are collected. By examining job logs, you can see the lifecycle of a grid job, including output from the grid applications themselves.
Job logs are viewable through the job management console. Since information is added dynamically to the job log while the job is executing, you can view the latest information by selecting Refresh from the job log view. Jobs logs are viewable only if the owning scheduler is active. In addition, if the endpoint executing the job is unavailable, a partial job log will result.
Job log output is collected on the job scheduler node, and on the grid execution endpoint node. The output is collected in a directory which has the format:
${GRID_JOBLOG_ROOT}/joblogs/<job-directory>/<timeStamp-directory>
where
${GRID_JOBLOG_ROOT}/joblogs - The base directory for all job logs on the node. It is configurable through the endpoint job log location attribute of the job scheduler panel from the administration console. The default value for ${GRID_JOBLOG_ROOT} is ${user.install.root}.
<job-directory> Is generated at run time from the job name. For example, if the jobid assigned by the job scheduler is PostingsSampleEar:99, then the generated directory name is PostingsSampleEar_99
<timeStamp-directory>- Is generated at runtime from the current date. It is in the format ddmmyyy_hhmmss, where dd is the day of the month, mm is a month (00 to 11), and yyyy is the year. hh is the hour of the day, (00 to 23), mm is the minute of the hour (00 to 59) and ss is the seconds of the minutes (00 to 59). For example, a timeStamp-directory with the name 14022007_164535 means that the job began processing on 14 Mar 2007, at 16:45:35.
For example, job output from job PostingsSampleEar:99 may be collected in the directory /opt/IBM/WebSphere/AppServer/profiles/scheduler/joblogs/PostingsSampleEar_99/14022007_164535.
Output on the scheduler node contains an echo of the job xJCL (before and after symbolic variable substitution, if any, is performed) and job dispatch information. Job log output from the job scheduler is collected in the job log directory in the file named part.0.log. Output on the execution endpoint node contains both application output and grid endpoint runtime messages. This output includes any application generated output directed to the System.out and System.err output streams. Job log output from the grid endpoint is collected in the job log directory in file(s) named part.1.log, part.2.log, and so on. However, if the job scheduler and grid endpoint are installed on the same application server, job log output from both the scheduler and the grid endpoint will be collected in the job log directory in the file named part.0.log. Each of the log parts contains approximately 1000 records. The following is an example of the contents of part.1.log:
CWLRB5588I: [03/13/07 08:25:32:104 EDT] Setting up j2ee job SimpleCIEar:44 for execution in Grid endpoint dmgrCell/lreeNode/lreeServer: [jobClass Default] [jobName SimpleCIEar] [module null] [user UNAUTHENTICATED] [applicationName SimpleCIEar] [applicationType j2ee] CWLRB5784I: [03/13/07 08:25:32:696 EDT] Setting step SLSB property: calculationTimeInSecs=30 CWLRB5784I: [03/13/07 08:25:32:696 EDT] Setting step SLSB property: outputFileName=/dtc/bin/XD/temp/simpleCI.txt System.out: [03/13/07 08:25:32:708 EDT] Tue Mar 13 08:25:32 EDT 2007: SimpleCI application starting... System.out: [03/13/07 08:25:32:708 EDT] -->Will loop processing a variety of math functions for approximately 30.0 seconds! System.out: [03/13/07 08:26:02:752 EDT] Tue Mar 13 08:26:02 EDT 2007: SimpleCI application complete! System.out: [03/13/07 08:26:02:753 EDT] -->Actual Processing time = 30.043 seconds! CWLRB5764I: [03/13/07 08:26:03:069 EDT] Job SimpleCIEar:44 ended