mklogpkg
Use the mklogpkg command to create a log package. The log package is written to the file that is specified in the csm_install_directory\wlp\usr\servers\csmServer\properties\Diagnostics.properties file.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -dir directory
- Specifies the output directory for the exported database on the system from which the command was executed. This parameter is optional and if not provided, the files will only be created on the server.
Example: Creating a log package on a Windows operating system
The following command creates a log package.
csmcli> mklogpkg
The following output is returned:
IWNR1198I Log packages were successfully created and placed at location C:\Program Files\IBM\CSM\wlp\usr\servers\csmServer\properties\ CSM-csm-1234_2012-10-29_11-11-02.jar
Example: Creating a log package on the IBM z/OS® operating system
The following command creates a log package.
csmcli> mklogpkg
The following output is returned:
IWNR1198I Log packages were successfully created and placed at location /SYSTEM/opt/CSM/RM/wlp/usr/servers/csmServer/properties/ CSM-csm-1234_2012-10-29_11-11-02.jar
