You can change the default Db2ZAI logging settings when necessary, for example, to help diagnose a system issue.
About this task
The logging settings apply globally (across all connections) to your installation of Db2ZAI.
Procedure
To change the Db2ZAI logging settings:
- Open a browser window and navigate to
https://<hostname>:<port>/, where <hostname> is your Db2ZAI address and <port> is the port you have assigned to Db2ZAI.
- Sign in to Db2® AI for z/OS®.
-
From the menu in the upper right corner of the Connections page, click
Administration (
). The System
configuration page opens.
- In the Db2ZAI logging setting section, specify the logging level for the Db2ZAI user interface or accept the default logging level.
- Click Debug to select the highest available level of logging. This setting will display all of the data needed to debug the application.
- Click Info to select the lowest level of logging, which logs events that can help you to understand the application flow and to expose error data, whenever errors occur. Info is the default setting.
- Specify whether to enable logging for the Db2ZAI action API services.
The action API services are all of the different Db2ZAI API methods that make changes to any Db2ZAI environment setting. For example, Ping is not an action API because calling it does not result in a change to the Db2ZAI environment.
For more information about the Db2ZAI APIs, see Db2ZAI REST APIs.