Every time when a sap job is completed from Workload Automation DE, instead of showing or displaying the full job logs (SAP SPOOL FILES) it is just showing some other information, but when we are comparing the logs from SAP side it has more data in the logs. In short, we are not getting the full logs.
Example of Spool logs which we are getting from Workload Automation DE is:
STATE SUBMIT Jobno(*****207) Status(Job Open: Defined and Released)
Add the following to the agentparm.txt and restart the agent
sap.job.log.spool_write=true
sap.job.log.spool_write
Sets whether the agent writes job logs to the agent spool file. When tuning for performance, you can reduce the overhead that is incurred when the agent retrieves logs by setting this parameter to false.
true Writes the job log to the agent spool file. If child process monitoring is enabled, children job logs are also written to the spool file.
false Does not write job logs to the spool file.
Default: false