System log user exit

Content Manager OnDemand provides a user exit that can be used to process the messages that are written to the Content Manager OnDemand system log.

A common use of the system log user exit is to watch for error conditions or certain messages and take the appropriate action, such as notifying an administrator or operator or running some other program.

The system log user exit runs the ARSLOG program after writing a record to the system log. However, the ARSLOG program that is provided with Content Manager OnDemand does not perform any functions. You must replace the one that is provided by IBM® with your own program that performs the functions that you require. For example, you could create a program to check the message number and severity of each message written to the system log and, when appropriate, send an alert to the system console.

Content Manager OnDemand sends parameters to the system log user exit, such as the name of the Content Manager OnDemand instance, a time stamp, a log record identifier, the user ID that is associated with the action, accounting information for the user ID, a message severity, a message number, and the text of the message. The information that appears in the accounting information part of the message can be specified for each user defined to the system by using the administrative client. You can customize the text of the messages by selecting the application group fields (and values) to include in the message. You can further configure Content Manager OnDemand to provide specific information to the system log user exit by setting system and application group parameters with the administrative client.