The methods for collecting event logs are as follows.
-
Use the system logger service to output event logs to a log stream, and then use the MAR tool to output the event logs from the log stream to a dataset.
-
Output event logs to a MAR log dataset without using the system logger service.
The system logger service provides the MVS-standard functionality for writing, displaying, and deleting logs.
The system logger service has the following features. Use them as the guideline for determining whether to use the system logger service.
-
Provides mechanisms for capacity management (functions for automatically migrating logs and automatically allocating log datasets) and troubleshooting (log duplication function).
-
Allows the users to extract only necessary information later and customize it.
-
Allows the users to view logs in the middle of a program.