Zowe Base - Use CA Ops to automate the startup and shutdown of ZOWE and CEM started tasks.
search cancel

Zowe Base - Use CA Ops to automate the startup and shutdown of ZOWE and CEM started tasks.

book

Article ID: 442580

calendar_today

Updated On:

Products

Zowe

Issue/Introduction

We would like to key off of the ZWEAM001I API Mediation Layer started message in CA Ops to indicate that the API ML is started successfully so that Ops can flag the STC as up.  However, as this message is currently logged by the ZWESLSTC, ZWEAM001I does not appear in the standard z/OS message ID field.  The standard message id, for this message the id shows as 1:MAIN and then some random number(s) after that:

0014493080 19MAY 11:08:19 ZWESLSTC STC21813 1:MAIN:335 39m ((o.z.a.GatewayHealthIndicator)) ZWEAM001I API Mediation Layer started 

0014493081 19MAY 11:08:41 CONSOLE  STC21734 IOEZ00048I                                                                          

0014493082 19MAY 11:08:47 IXGLOGR  NONE     ACF99900 

Environment

Zowe 3.3.0 and later

Resolution

This issue was solved by adding new parameter zowe.sysMessageTrim. This new functionality is available from Zowe 3.3.0.

If you are running Zowe 3.3.0 or later, then set this key in your configuration:

zowe:

  sysMessageTrim: true

If not, there is the only option to use the customized logging for API ML.

Additional Information

Customizing Zowe API Mediation Layer logging