Examples of ways to connect to the log stream

An application can connect to the log stream in different ways. Some of these are:

When an application issues IXGCONN to connect to a coupling facility log stream, the system logger address space connects to the coupling facility list structure for the log stream.

Each task that issues IXGCONN REQUEST=CONNECT to connect to a log stream must later issue IXGCONN REQUEST=DISCONNECT to disconnect from the log stream. When a task disconnects from the log stream, the stream token that identified the connection is invalidated. Any requests that use the stream token after the disconnect will be rejected.

If a task that issued the IXGCONN REQUEST=CONNECT request ends before issuing a disconnect request, system logger will automatically disconnect the task from the log stream. This means that the unique log stream connection identifier, or the STREAMTOKEN, will no longer be valid. The application will receive an “expired logstream token” error response if it then uses this same STREAMTOKEN after the task has been disconnected on subsequent logger service requests.