Configuring logging
You can configure the logging levels, maximum log file size, and the maximum number of log files that are used by the mqweb server which hosts the IBM® MQ Console and REST API. You can configure logging by using the setmqweb command.
Before you begin
To complete this task, you must be a user with certain privileges so that you can
use the dspmqweb and setmqweb commands:
- On z/OS®, you must have authority to run the dspmqweb and setmqweb commands, and write access to the mqwebuser.xml file.
- On all other operating systems, you must be a privileged user.
About this task
The log files for the mqweb server can be found in one of the following directories:
- On AIX®, Linux®, and Windows: MQ_DATA_PATH/web/installations/installationName/servers/mqweb/logs
- On z/OS:
WLP_user_directory/servers/mqweb/logs
where WLP_user_directory is the directory that was specified when the crtmqweb script ran to create the mqweb server definition.
The messaging trace files for the mqweb server can be found in one of the following directories:
- On AIX, Linux, and Windows: MQ_DATA_PATH/web/installations/installationName/servers/mqweb
- On z/OS:
WLP_user_directory/servers/mqweb
where WLP_user_directory is the directory that was specified when the crtmqweb script ran to create the mqweb server definition.
For more information about enabling trace for the:
- REST API, see Tracing the REST API
- New Web Console, see Tracing the New Web Console
- Dashboard Web Console, see Tracing the Dashboard Web Console