You might need to modify the size of the logstream record size if the application server is attempting to write messages that are too large. If a message is too large, you will receive an error message that will be written to the job log.
TRAS0024I: Log entry is of size 5012 bytes which is too large to be added to log stream which is configured for 4096 byte records. Log entry will not be logged to the log stream.
The original message is also written to the job log and can be viewed there.
To resolve this issue and ensure your messages fit into your logstream, change the MAXBUFSIZE of the error log logstream. The following code shows an example where the sample BBOERRLG job generated by the ISPF customization dialog is modified to set the MAXBUFSIZE to 8192:
//BBOERRLG JOB (ACCTNO,ROOM),'USER10',CLASS=A,REGION=0M //* //* //* //BBORCLGS EXEC PGM=IXCMIAPU //SYSPRINT DD SYSOUT=* //SYSIN DD * DATA TYPE(LOGR) DEFINE LOGSTREAM NAME(WAS.TY5.ERROR.LOG) DASDONLY(YES) HLQ(LOGGER) LS_SIZE(500) STG_SIZE(500) MAXBUFSIZE(8192) AUTODELETE(YES) RETPD(1) LS_DATACLAS(STANDARD)