2.3.5 Log output of a batch application
On a batch server, execution logs of batch applications are output. In the execution logs, the output contents that are output by the running batch applications are output as the standard output or standard error output, for each batch execution command. You can use this information for investigation when a fault occurs.
A batch server outputs the data, written by batch applications in java.lang.System.out and java.lang.System.err to the respective following locations:
-
Data written to java.lang.System.out by batch applications
This data is output to the following locations by standard output transfer functionality of batch server:
-
User output log of batch server
-
Standard output of batch server
-
Standard output of cjexecjob command
-
-
Data written to java.lang.System.err by batch application
This data is output to the following locations by the standard error output transfer functionality of batch server:
-
User error log of batch server
-
Standard error output of batch server
-
Standard error output of cjexecjob command
-
The messages output by the cjexecjob, cjkilljob, and cjlistjob commands are output to the respective following locations according to the message level:
- I (Information)
-
Output to standard output. However, the messages (KDJE55029-I, KDJE55030-I, and KDJE55052-I) that show usage method of commands are output to the standard error output.
- E (Error) and W (Warning)
-
Output to the standard error output.
For details on the commands used for executing the batch applications, see 3.3 Commands used with batch applications in the uCosminexus Application Server Command Reference Guide. For details on the message levels, see 7.1 Format for describing the messages in the manual uCosminexus Application Server Messages.